MongoDB and Mongoose tutorial from FreeCodeCamp
-
Learn how to create cluster in MongoDBAtlas, conncet to the cluster, and execute CRUD
-
Learn how to create .env file
Need to install express, body-parser, mongodb, mangoose, dotenv
Use npm install dependencies
npm install [dependencies]
Run app in development mode
npm start
You can open https://localhost:3000 to view in the browser