Need help with mm_express_api_example?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

arcdev1
199 Stars 118 Forks MIT License 12 Commits 16 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 53,725
JavaScr...
Shell
HTML
7 commits
# 106,703
gatsby
GraphQL
gatsbyj...
hugo
1 commit

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.