Videos
A lightweight, interpreted, object-oriented language. JavaScript engines execute JavaScript code in client-side (in web browsers) or server-side(for example, the V8 engine is a core component of the Node.js and Deno runtimes).- Latest
- Highest Rated
Video
Getting Started with MongoDB & Mongoose ODM (Object Data Modeling) Library
✅ Sign-up for a free cluster at: https://mdb.link/free-bALyYC10ABw ✅ Get help on our Community Forums: https://mdb.link/community-bALyYC10ABw 📚 For readers, here a written version: https://mdb.link/mongoose-bALyYC10ABw 📻 MongoDB Podcast with Val Karpov, maintainer of Mongoose: https://bit.ly/3MSx6Oo 🔗 Mongoose: https://mongoosejs.com/ In this video, we’ll learn how Mongoose, a library for MongoDB, can help you to structure and access your data with ease. Many who learn MongoDB get introduced to it through the very popular library, Mongoose, an ODM (Object Data Modeling) Library. Mongoose is described as “elegant MongoDB object modeling for Node.js." Connect with Jesse: Twitter: https://bit.ly/tweet-codeSTACKr --- Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1May 24, 2022
Video
MongoDB & Node.js: Change Streams & Triggers (Part 4 of 4)
✅ Sign-up for a free cluster at: https://mdb.link/free-9LA7_CSyZb8 ✅ Get help on our Community Forums: https://mdb.link/community-9LA7_CSyZb8 When you need to react immediately to changes in your MongoDB database, change streams and triggers can help you make that happen. In part four of this quick start tutorial for beginners, Lauren Schaefer explains three ways to monitor change streams in a Node.js script: using EventEmitter's on(), using ChangeStream's hasNext(), and using Node's Stream API. She also explains how to create triggers in MongoDB Atlas. Chapters: 00:00 Intro 00:57 Change Streams 03:52 Monitoring Change Streams Using EventEmitter's on() 12:21 Monitoring Change Streams Using ChangStream's hasNext() 16:37 Monitoring Change Streams Using the Stream API 19:57 Resuming Change Streams 21:43 Triggers 27:16 Wrapping Up Links Lauren mentions in the video: Lauren's blog post: Change Streams & Triggers with Node.js Tutorial https://mongodb.prakticum-team.ru/developer.mongodb.com/quickstart/nodejs-change-streams-triggers Lauren's GitHub repo with the code from this video https://github.com/mongodb-developer/nodejs-quickstart/blob/master/changeStreams.js Node.js & MongoDB Starter Template File https://github.com/mongodb-developer/nodejs-quickstart/blob/master/template.js Other videos in this tutorial series: Part 1: https://youtu.be/fbYExfeFsI0 Part 2: https://youtu.be/iz37fDe1XoM Part 3: https://youtu.be/bdS03tgD2QQ Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer TikTok: https://tiktok.com/@lauren_schaefer Linkedin: https://www.linkedin.com/in/laurenjan... MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168/ Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJMay 21, 2021
Video
MongoDB & Node.js: Create an ACID Transaction (Part 3 of 4)
✅ Sign-up for a free cluster at: https://mdb.link/free-bdS03tgD2QQ ✅ Get help on our Community Forums: https://mdb.link/community-bdS03tgD2QQ In part three of this quick start tutorial for developers, Lauren Schaefer explains how to create ACID (atomicity, consistency, isolation, durability) transactions for MongoDB in a Node.js script. She explains how to use withTransaction() and a session to successfully complete or abort a transaction. Chapters: 00:00 Intro 01:06 ACID transactions in MongoDB 04:06 The Setup 05:19 Create a Transaction 05:43 Create a Helper Function 07:50 Create a Function for the Transaction 17:59 Call the Function 20:54 Wrapping Up Other videos in this tutorial series: Part 1: https://youtu.be/fbYExfeFsI0 Part 2: https://youtu.be/iz37fDe1XoM Links Lauren mentions in the video: Lauren's blog post: How to Use MongoDB Transactions in Node.js https://mongodb.prakticum-team.ru/developer.mongodb.com/quickstart/node-transactions Lauren's GitHub repo with the code from this video https://github.com/mongodb-developer/nodejs-quickstart/blob/master/transaction.js Lauren's script to create a "users" collection https://github.com/mongodb-developer/nodejs-quickstart/blob/master/usersCollection.js Node.js & MongoDB Starter Template File https://github.com/mongodb-developer/nodejs-quickstart/blob/master/template.js MongoDB Documentation: Convert a Standalone to a Replica Set https://mongodb.prakticum-team.ru/proxy/docs.mongodb.com/manual/tutorial/convert-standalone-to-replica-set Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer TikTok: https://tiktok.com/@lauren_schaefer Linkedin: https://www.linkedin.com/in/laurenjan... MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168/ Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJMay 14, 2021
Video
MongoDB & Node.js: Aggregation & Data Analysis (Part 2 of 4)
✅ Sign-up for a free cluster at: https://mdb.link/free-iz37fDe1XoM ✅ Get help on our Community Forums: https://mdb.link/community-iz37fDe1XoM When you want to analyze data stored in MongoDB, you can use MongoDB's powerful aggregation framework to do so. In part two of this quick start tutorial for beginners, Lauren Schaefer provides a high-level overview of the aggregation framework and demonstrates how to use it in a Node.js script. She explains how to use aggregate() to analyze data. Chapters: 00:00 Intro 00:45 What is the aggregation framework? 02:45 Create an aggregation pipeline in Atlas 06:45 Executing an aggregation pipeline in Node.js 11:07 Wrapping up Other videos in this tutorial series: Part 1: https://youtu.be/fbYExfeFsI0 Links Lauren mentions in the video: Lauren's blog post: Aggregation Framework with Node.js Tutorial https://mongodb.prakticum-team.ru/developer.mongodb.com/quickstart/node-aggregation-framework Lauren's GitHub repo with the code from this video https://github.com/mongodb-developer/nodejs-quickstart/blob/master/aggregation.js Node.js & MongoDB Starter Template File https://github.com/mongodb-developer/nodejs-quickstart/blob/master/template.js Free MongoDB University Course: M121 The MongoDB Aggregation Framework https://mongodb.prakticum-team.ru/university.mongodb.com/courses/M121/about Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer TikTok: https://tiktok.com/@lauren_schaefer LinkedIn: https://www.linkedin.com/in/laurenjan... MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168/ Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJMay 07, 2021
Video
MongoDB & Node.js: Connecting & CRUD Operations (Part 1 of 4)
✅ Sign-up for a free cluster at: https://mdb.link/free-fbYExfeFsI0 ✅ Get help on our Community Forums: https://mdb.link/community-fbYExfeFsI0 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(). Links Lauren mentions in the video: ⭐ Connect to a MongoDB Database Using Node.js: https://mdb.link/connect-nodejs ⭐ MongoDB and Node.js Tutorial - CRUD Operations: https://mdb.link/nodejs-crud ⭐ GitHub repo with the code from this video: https://mdb.link/nodejs-quickstart Other videos in this tutorial series: Part 2: https://youtu.be/iz37fDe1XoM Part 3: https://youtu.be/bdS03tgD2QQ Part 4: https://youtu.be/9LA7_CSyZb8 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 Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer TikTok: https://tiktok.com/@lauren_schaefer LinkedIn: https://www.linkedin.com/in/laurenjanece/ MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168 ------ ✅ Subscribe to our channel: https://mdb.link/subscribeApr 29, 2021