mysql 数据库安装 egg 连接mysql 数据库 实现文章发布接口,获取列表,获取详情 Postman 测试接口请求
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- 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.