- Notifications
You must be signed in to change notification settings - Fork128
heimi-block/egg-RESTfulAPI
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
基于Egg.js的 RESTful API 模板,用于快速集成开发RESTful前后端分离的服务端。(建议用于学习入门EGGJS和Mongoose,如果作为生产请自行优化和改造)
- ⚡框架选择:基于 Egg.js 2.0
- 🔥数据模型:基于 Mongoose 存储
- 🔒授权验证:基于JWT
- 🚀内置功能:文件处理,用户系统,统一错误处理及接口返回标准,全方位CRUD,分页,模糊查询的等数据操作Demo
- ✨最佳实践:接口设计适配 Ant Design Pro 或 微信小程序开发等。(内置分页及ant接口返回标准)
seeegg docs for more detail.
$cd app& mkdir public&cd public& mkdir uploads$ npm i$ npm run dev$ open http://localhost:7001/
$ npm start$ npm stop
- Use
npm run lintto check code style. - Use
npm testto run unit test. - Use
npm run autodto auto detect dependencies upgrade, seeautod for more detail.
About
🏅 基于Egg.js 2.0 & {mongoose,jwt}RESTful API 模板,用于快速集成开发RESTful前后端分离的服务端。
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.