Ticker

6/recent/ticker-posts

MongoDB & Node.js: Connecting & CRUD Operations (Part 1 of 4)



If you’re a Node.js developer who wants to learn MongoDB, start here!

In this quick start tutorial for beginners, Developer Advocate Lauren Schaefer walks through the basics of how to connect to a MongoDB Atlas database using a Node.js script. Then she explains how data is stored in MongoDB using documents and collections. Finally, she explains how to execute each of the CRUD (create, read, update, and delete) operations. She explains how to use insertOne(), insertMany(), findOne(), find(), updateOne() with and without upsert, updateMany(), deleteOne(), and deleteMany().

Chapters:
00:00 Intro
01:00 How to Connect
08:22 How MongoDB Stores Data
11:47 How to Create Documents
17:16 How to Read Documents
24:46 How to Update Documents
35:58 How to Delete Documents
41:10 Wrapping Up

Links Lauren mentions in the video:
Lauren’s blog post: Connect to a MongoDB Database Using Node.js
Lauren’s blog post: MongoDB and Node.js Tutorial – CRUD Operations
Lauren’s GitHub repo with the code from this video
Back to Basics Webinar Recording

Other videos in this tutorial series:
Part 2:
Part 3:
Part 4:

Connect with Lauren:
Twitter:
TikTok: lauren_schaefer
LinkedIn:
MongoDB Community:

Subscribe to MongoDB ►►►

Connect with MongoDB:
Website:
Twitter:
Facebook:
Linkedin:
Instagram:
Community Forums:
TikTok:

node js

#MongoDB #amp #Node.js #Connecting #amp #CRUD #Operations #Part

Nodejs,JavaScript

Post a Comment

0 Comments