ZJU 2021 春学期《服务科学导论》专题作业微信小程序后端服务。
$ yarn
$ yarn run dev
$ open http://localhost:7001/
Don't tsc compile at development mode, if you had run tsc
then you need to npm run clean
before npm run dev
.
$ yarn run tsc
$ yarn start
- Use
yarn run lint
to check code style - Use
yarn test
to run unit test - se
yarn run clean
to clean compiled js at development mode once
- Node.js 8.x
- Typescript 2.8+
JWT_SECRET=
MONGO_URL=
WECHAT_APP_ID=
WECHAT_APP_SECRET=