Featured
All Node.js Content
- Latest
- Highest Rated
Video
How to Batch Download Content & Media from Your Database
✅ Try MongoDB 8.0 → https://mdb.link/_bg6bv0hZyY-try ✅ Sign-up for a free cluster → https://mdb.link/_bg6bv0hZyY-register ✅ Subscribe to MongoDB YouTube → https://mdb.link/subscribe Ever needed to move your content out of a database and onto your local file system? In this practical, no-fluff tutorial, we walk you through a powerful Node.js script designed to export your content and all its media assets directly from MongoDB. Follow along as we build a script from scratch that reads a list of content, queries MongoDB using an aggregation pipeline, and then automatically downloads all associated images and media files, organizing everything neatly for you. This is a real-world example of how to use MongoDB and Node.js to solve a common content migration challenge, perfect for anyone managing a CMS or needing to batch-export data. Chapters: 00:00 Introduction & Use Case 00:52 Project Setup & Dependencies 03:37 Boilerplate Code Explained 06:10 Loading URL Slugs from File 08:59 Querying MongoDB with Aggregation Pipeline 13:33 Saving Markdown to Local File System 16:48 Saving Metadata to Local File 19:40 Extracting Asset URLs from Markdown 23:36 Downloading Assets with Axios 30:46 Final Thoughts & Conclusion This video is not affiliated with, endorsed by, or sponsored by Node.js. The use of any trademark is solely for informational and identification purposes, so that we may provide clear and accurate descriptions. All opinions and critiques provided in this video are those of the creator and do not reflect the views of Node.js or its affiliates. Visit Mongodb.com → https://mdb.link/MongoDB Read the MongoDB Blog → https://mdb.link/Blog Read the Developer Blog → https://mdb.link/developerblogJul 07, 2025
Tutorial
Getting Started with MongoDB Atlas, NodeJS, and Azure App Service
How to easily deploy a MERN Stack application to Azure App Service.Apr 18, 2025
Tutorial
Demystifying Stored Procedures in MongoDB
Learn how MongoDB’s aggregation pipeline, Atlas triggers, and change streams are a super efficient, powerful, and flexible alternative to stored procedures.Mar 13, 2025
Tutorial
Getting Started with MongoDB Atlas and Azure Functions using Node.js
In this tutorial, we’re going to see just how easy it is to interact with MongoDB Atlas using Azure functions.Mar 12, 2025
Article
The cost of not knowing MongoDB (V5RX) - Part 2
Discover the power of MongoDB schema optimization in the second part of The Cost of Not Knowing MongoDB series. This deep dive explores the impact of different data modeling approaches, focusing on the Bucket Pattern and Computed Pattern to enhance query performance and storage efficiency. Learn how grouping data by month or quarter can significantly reduce index size and improve read operations, while pre-computing aggregations can optimize reporting. With real-world benchmarks, load test results, and practical TypeScript code, this guide demonstrates how strategic schema design can maximize MongoDB’s potential.Jan 29, 2025
Tutorial
How to Develop a Web App With Netlify Serverless Functions and MongoDB
Learn how to build and deploy a web application that leverages MongoDB and Netlify Functions for a serverless experience.Jan 13, 2025
Article
The Cost of Not Knowing MongoDB
The focus of this series is to show how much performance you can gain when using MongoDB properly, following the best practices, studying your application needs, and using it to model your data.Nov 11, 2024
Tutorial
Building a Scalable Media Management Back End: Integrating Node.js, Azure Blob Storage, and MongoDB
Learn to create your own media management backend, storing your media files in Azure Blob Storage, and associated metadata in MongoDB.Nov 05, 2024