nodejs-rest-contacts:使用NodeJS,Express和Mongoose玩REST,RESTful API生成器REST

时间:2021-05-03 06:56:01
【文件属性】:
文件名称:nodejs-rest-contacts:使用NodeJS,Express和Mongoose玩REST,RESTful API生成器REST
文件大小:94KB
文件格式:ZIP
更新时间:2021-05-03 06:56:01
JavaScript REST联系人 由生成的RESTful API。 请参阅API的。 指令 生成项目后,可在package.json中使用这些命令。 npm test # test using Jest npm run coverage # test and open the coverage report in the browser npm run lint # lint using ESLint npm run dev # run the API in development mode npm run prod # run the API in production mode npm run docs # generate API docs 在本地玩 首先,您将需要在另一个终端实例中安装和运行 。 $ mongod 然后,以开发模式运行服务器。 $ npm run dev Express s
【文件预览】:
nodejs-rest-contacts-master
----.jshintrc(23B)
----.gitignore(106B)
----.babelrc(95B)
----.env.example(42B)
----.eslintrc(120B)
----package.json(2KB)
----package-lock.json(322KB)
----src()
--------api()
--------app.js(528B)
--------services()
--------index.js(76B)
--------config.js(1KB)
----.travis.yml(261B)
----README.md(5KB)
----.yo-rc.json(115B)
----test()
--------setup.js(1KB)
----.editorconfig(414B)

网友评论