使用egg.js
+react
+Sequelize
实现简单的CRUD操作。
$ 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.
详情见文章: egg.js+react SSR实践