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
Смотрите видео Connecting a MongoDB cluster with Express (Node.js) Part 1 of 2 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь buckmasterinstitute 23 Август 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,232 раз и оно понравилось 32 людям.