An open API service indexing awesome lists of open source software.

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 春学期《服务科学导论》专题作业微信小程序后端服务。

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=
```