Egg server API written by Egg.js, MySQL, Redis, TypeScript.
$ yarn install
$ yarn dev
$ open http://localhost:7001/
Don't tsc compile at development mode, if you had run tsc
then you need to yarn clean
before yarn dev
.
$ yarn tsc
$ yarn start
- Use
yarn lint
to check code style - Use
yarn test
to run unit test - Use
yarn clean
to clean compiled js at development mode once
- Node.js 8.x
- Typescript 3.0+