【文件属性】:
文件名称:api-rest-es6-express:具有ES6的API Boilerplate Rest NodeJS
文件大小:57KB
文件格式:ZIP
更新时间:2021-02-04 15:43:33
nodejs javascript mysql ssl express
·
Express和ES6 REST API样板
这是使用ES6和Express构建REST API的简单样板。
通过ES6支持
通过REST资源作为
通过支持CORS
通过进行
提示:如果使用的是 ,则可以使用自动将模型公开为REST资源。
# clone it
git clone git@github.com:mguardarini/api-rest-es6-express.git
cd express-es6-rest-api
# Make it your own
rm -rf .git && git init && npm init
# Install dependencies
【文件预览】:
api-rest-es6-express-master
----src()
--------models()
--------database()
--------npm-debug.log(4KB)
--------lib()
--------encryption()
--------middleware()
--------config.json(88B)
--------api()
--------index.js(990B)
----LICENSE(1KB)
----Procfile(15B)
----README.md(3KB)
----.gitignore(114B)
----package-lock.json(208KB)
----package.json(1KB)