GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - heimi-block/egg-RESTfulAPI: 🏅 基于Egg.js 2.0 & {mongoose,jwt}RESTful API 模板,用于快速集成开发RESTful前后端分离的服务端。

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
app
app
 
 
config
config
 
 
test/app/controller
test/app/controller
 
 
.autod.conf.js
.autod.conf.js
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
appveyor.yml
appveyor.yml
 
 
package.json
package.json
 
 

Repository files navigation

egg-RESTfulAPI

基于Egg.js的 RESTful API 模板,用于快速集成开发RESTful前后端分离的服务端。 (建议用于学习入门EGGJS和Mongoose,如果作为生产请自行优化和改造)

特性

  • ⚡ 框架选择:基于 Egg.js 2.0
  • 🔥 数据模型:基于 Mongoose 存储
  • 🔒 授权验证:基于JWT
  • 🚀 内置功能:文件处理,用户系统,统一错误处理及接口返回标准,全方位CRUD,分页,模糊查询的等数据操作Demo
  • ✨ 最佳实践:接口设计适配 Ant Design Pro 或 微信小程序开发等。(内置分页及ant接口返回标准)

QuickStart

see egg docs for more detail.

Development

$ cd app & mkdir public & cd public & mkdir uploads
$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ 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 for more detail.

About

🏅 基于Egg.js 2.0 & {mongoose,jwt}RESTful API 模板,用于快速集成开发RESTful前后端分离的服务端。

Topics

eggegg-pluginegg-restfulapifsjwtmongodbmongoosenodejsupload

Resources

Readme
Activity

Stars

591 stars

Watchers

19 watching

Forks

126 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.