Module 5- Part 2- Lab 8 Create a program to implement Mongo DB | Full Stack Development | BIS601

Опубликовано: 14 Март 2026
на канале: Dost2Web
496
5

#Express #React #engineering #fullstack #RESTAPI

Module 5- Part 2- Full Stack Development | BIS601
Install the MongoDB driver for Node.js. Create a Node.js script to connect to the shop database.
Implement insert, find, update, and delete operations using the Node.js MongoDB driver.
Define a product schema using Mongoose.
Insert data into the products collection using Mongoose.
Create an Express API with a /products endpoint to fetch all products.
Use fetch in React to call the /products endpoint and display the list of products.
Add a POST /products endpoint in Express to insert a new product.
Update the Product List, After adding a product, update the list of products displayed in React.
Code: https://github.com/mepankaj/Shop-Data...
0.00 -2:00 Introduction to MongoDB
2.02-4:00 FSD