项目
在 GitHub 查看
arcdev1/mm_express_api_example
关于
Watch the companion video at: https://www.youtube.com/watch?v=fy6-LSE_zjI
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Live Code Walkthrough - Designing a clean RESTful API with Node.js (Express + Mongo)
Watch the companion video at: https://www.youtube.com/watch?v=fy6-LSE_zjI
Prerequisites
- Node.js
- Mongo DB
- Git
Getting started
Follow these steps at the command line:
1. Clone and Install
git clone https://github.com/arcdev1/mm_express_api_example.git
cd mm_express_api_example
npm install
2. Start Mongo
mongod
3. Run the solution
npm run start
Troubleshooting
To get the unique email error to work like in the video, you need to add a unique constraint on the email field in MongoDB as described at: https://docs.mongodb.com/manual/core/index-unique/
License
Distributed under the MIT License. See LICENSE for more information.
探索相关项目
加载中…