Skip to content

Created a Node.js application that connects to a MongoDB database using Mongoose. Defined a Product model with properties such as name, price, and category. Implemented routes or functions to perform CRUD operations: add a new product, retrieve all products, update a product by its ID, and delete a product by its ID.

Notifications You must be signed in to change notification settings

code-bywatts/Product-Database-Using-Mongoose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Database using Mongoose by VASU WATTS

Developed a Node.js application that establishes a connection with a MongoDB database using Mongoose. The project demonstrates structured database interaction through the implementation of CRUD (Create, Read, Update, Delete) operations on a product collection. A Product model was designed with essential fields including name, price, and category to ensure clear data organization and validation. The application includes endpoints to add, retrieve, modify, and remove products by their unique identifiers, offering a foundational understanding of backend data handling and API development.

Screenshot 2025-10-29 150848 Screenshot 2025-10-29 150859

About

Created a Node.js application that connects to a MongoDB database using Mongoose. Defined a Product model with properties such as name, price, and category. Implemented routes or functions to perform CRUD operations: add a new product, retrieve all products, update a product by its ID, and delete a product by its ID.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published