Examples from the "Section 12: Working with NoSQL & Using MongoDB" of the course "NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno)" by Academind (Maximilian Schwarzmüller).
Section 12 covered:
- What is MongoDB?
- Relations in NoSQL
- Setting Up MongoDB
- Installing the MongoDB Driver
- Creating the Database Connection
- Finishing the Database Connection
- Using the Database Connection
- Creating Products
- Understanding the MongoDB Compass
- Fetching All Products
- Fetching a Single Product
- Making the "Edit" & "Delete" Buttons Work Again
- Working on the Product Model to Edit our Product
- Finishing the "Update Product" Code
- One Note About Updating Products
- Deleting Products
- Fixing the "Add Product" Functionality
- Creating New Users
- Storing the User in our Database
- Working on Cart Items & Orders
- Adding the "Add to Cart" Functionality
- Storing Multiple Products in the Cart
- Displaying the Cart Items
- Deleting Cart Items
- Adding an Order
- Adding Relational Order Data
- Getting Orders
- Removing Deleted Items From the Cart
More info: https://www.udemy.com/course/nodejs-the-complete-guide/