ArutoriaCode / Blog-egg

About 仿照 https://www.yevpt.com/ 的一个博客的后端,基于egg.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog-egg

个人博客后端,基于egg.js框架开发

前端仓库:https://github.com/Chenwangdexiwang/Blog

部署参考

https://eggjs.org/zh-cn/core/deployment.html

运行或部署前的注意事项:

  1. 请修改config/secure.js中的安全配置
  2. 请修改database/config.json中的配置,以便在运行时创建相关表
  3. 上传接口使用腾讯云COS的存储服务,如果你使用的第三方服务请自己实现相关接口
  4. 如使用腾讯云COS请记得修改config/secure.js文件内的tencentCos配置

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

About

About 仿照 https://www.yevpt.com/ 的一个博客的后端,基于egg.js

License:Apache License 2.0


Languages

Language:JavaScript 99.6%Language:Shell 0.4%