Set-up and persist data with MongoDB - Tutorial
ฝัง
- เผยแพร่เมื่อ 19 ก.ค. 2024
- Part 5 of this MEAN Application series will complete our application with a MongoDB database. We are going to create an account with MongoDB and a cluster to store our data within. We will also use the mongoose package to define a schema for our data, before connecting to MongoDB and persisting the data. We will complete the full-stack functionality by enabling POST, PUT and DELETE functionality with the database and application together.
Link to source code:
github.com/4neesh/MyDiary
🕒 Timestamps 🕒
00:00 - Introduction
00:26 - Setting up MongoDB
02:54 - Using Mongoose
06:36 - Connection our app to MongoDB
08:38 - Saving to MongoDB
09:22 - MongoDB Shell
10:58 - Fetching data with MongoDB
13:58 - Deleting from MongoDB
16:10 - Editing data with MongoDB
Please like, subscribe and leave a comment to let me know what you think!
Visit my website for all my blogs and videos on software engineering: www.aneesh.co.uk
Icon made by FreePik from www.flaticon.com - วิทยาศาสตร์และเทคโนโลยี