Skip to content

arcdev1/mm_express_api_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •