Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zaxlct/egg-wx-demo

用 egg 实现的「旧岛小样」微信小程序端 API
https://github.com/zaxlct/egg-wx-demo

Last synced: 12 days ago
JSON representation

用 egg 实现的「旧岛小样」微信小程序端 API

Awesome Lists containing this project

README

        

# Island-Egg
用 Egg 实现的「旧岛小样」微信小程序端 API

## 功能说明
- validate
- 全局异常处理
- JWT
- Swagger-doc

## 分支说明
- 基础的开发环境搭建完成
- JWT 以及 Auth 中间件功能
- 邮箱密码获取 token
- 小程序 code 获取 token
- TODO

## TODO
- 部署
- 单元测试

## QuickStart

see [egg docs][egg] for more detail.

### Development

```bash
$ npm i
$ npm run dev
$ open http://localhost:7001/
```

### Deploy

```bash
$ npm start
$ npm stop
```

### npm scripts

- Use `npm run lint` to check code style.
- Use `npm test` to run unit test.
- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.

[egg]: https://eggjs.org