Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zaxlct/egg-wx-demo
- Owner: zaxlct
- Created: 2020-03-15T13:47:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-27T14:04:09.000Z (over 2 years ago)
- Last Synced: 2024-10-16T22:56:47.386Z (27 days ago)
- Language: JavaScript
- Size: 2.65 MB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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