Connecting a MongoDB cluster with Express (Node.js) Part 1 of 2

Published: 23 August 2021
on channel: buckmasterinstitute
4,232
32

1. Initialize the project

2. Install dependencies (express, mongoose, nodemon)

3. Start the server

4. Connect server to the mongoDB cluster

5. Create schema and get handle for the collection

6. Fetch and print the document from collection

Next video
The next video we will add functionality of searching and adding a document to collection on cluster. We will create two routes (GET and POST) in our server which will be invoked using postman.

Useful links

Setting up cluster:    • Setting up a cluster on MongoDB Atlas...  

https://expressjs.com/en/starter/inst...

https://mongoosejs.com/docs/guide.html


Watch video Connecting a MongoDB cluster with Express (Node.js) Part 1 of 2 online without registration, duration hours minute second in high quality. This video was added by user buckmasterinstitute 23 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,232 once and liked it 32 people.