user module for tomatobang
see egg docs for more detail.
$ npm i
$ npm run dev
$ open http://localhost:10001/$ npm start
$ npm stop- Use
npm run lintto check code style. - Use
npm testto run unit test. - Use
npm run autodto auto detect dependencies upgrade, see autod for more detail.
docker build -t tb/tomato-user .
docker-compose up- not install dev dependency in prod mode.