https://github.com/yuaanlin/foretodo-backend
ZJU 2021 春学期《服务科学导论》专题作业微信小程序后端服务。
https://github.com/yuaanlin/foretodo-backend
eggjs nodejs wechat-mini-program zhejiang-university zju
Last synced: about 1 month ago
JSON representation
ZJU 2021 春学期《服务科学导论》专题作业微信小程序后端服务。
- Host: GitHub
- URL: https://github.com/yuaanlin/foretodo-backend
- Owner: yuaanlin
- Created: 2021-04-08T05:53:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-06T10:29:00.000Z (about 5 years ago)
- Last Synced: 2025-03-28T22:25:34.230Z (about 1 year ago)
- Topics: eggjs, nodejs, wechat-mini-program, zhejiang-university, zju
- Language: TypeScript
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fukedao-Backend
ZJU 2021 春学期《服务科学导论》专题作业微信小程序后端服务。
## QuickStart
### Development
```bash
$ 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`.
### Deploy
```bash
$ yarn run tsc
$ yarn start
```
### Scripts
- 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
### Requirement
- Node.js 8.x
- Typescript 2.8+
### Environment Variables
```dotenv
JWT_SECRET=
MONGO_URL=
WECHAT_APP_ID=
WECHAT_APP_SECRET=
```