Let's learn about Mongodb via these 114 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the Learn Repo or LearnRepo.com to find the most read blog posts about any technology.MongoDB is a popular NoSQL document database. It matters because its flexible document model allows for rapid development and handling of large volumes of unstructured data, making it ideal for modern web applications and scalable data storage.1. Building a MongoDB NoSQL E-Commerce Data ModelMongoDB supports ACID transactions, and its cloud offering is PCI DSS compliant. It's one of the best NoSQL options for e-commerce.2. Mastering MongoDB - Introducing multi-document transactions in v4.0Photo by Madison Grooms on Unsplash3. How to Erase Expired Docs Automatically with MongoDB (TTL index)Recently I needed to delete some documents that I saved in MongoDB after some time. I can think of a few examples of why we would want to delete data after some time:4. How to Build A Well Structured 3-tier Architecture (MERN Stack - ES6) [Step-by-Step Guide]This project serves as a guide/template for a 3-tier architecture. If you are entirely new to Web Development. I highly suggest you watch this video first.5. Simple Steps to Optimize Your App Performance with MongoDB, Redis, and Node.jsHere at Stream, we power activity feeds for 300+ million end users and love playing around with ways to utilize our product in all sorts of use cases. Most recently, we built Winds, an open-source RSS and Podcast application with a strong focus on UI and UX.6. MongoDB and Docker-Compose: How to Enable a Custom User and Password AutomaticallyHow can we create a custom user and password to access MongoDB when using docker-compose? Let's see how.7. Why I Built a MongoDB-Powered Message QueueReinventing the wheel: a message queue system with MongoDB8. A Complete Guide to Laravel SailThis post is about what to expect from Laravel Sail, how it works and how to make the most of it; it is also a plea to developers to break away from it.9. How to Reset Password with Node.js and Angular [Part 1]There are lots of tutorials about user authentication but all of them are just covering the topics like how to sign up and how to sign in. Even if you find a tutorial about reset password then you will see that it covers old school method without APIs and using jQuery based front-end. In this tutorial, we are going to use a Node.js based API which will connect to Angular front-end. Let’s get started:10. How To Link Mongoose And Typescript for a Single Source of TruthWithout external tools11. One-Time Password Generation Using speakeasy, Nest.js And MongoDBHere, we have designed and developed a flow for OTP(One time password) for user registration and also blocking a user's account after the maximum retries for incorrect otp is exceeded.12. PostgreSQL vs. MongoDB: Evaluating Database Structure, Speed, and MoreChoosing a database can be scary as it’s nearly impossible to change once you’ve built on one. So which will you choose? PostgreSQL or MongoDB?13. Real Time Data Processing: Easily Processing 10 Million Messages With Golang, Kafka and MongoDBHow fast Golang can be for processing a high number of messages coming from a Kafka topic?14. Learning the basics of MongoDB by Writing a User Registration APILearning MongoDB has been one of the things in my checklist for the past 6 months but hasn’t gotten around actually learning it until now. In order to understand writing queries and all I figured it’ll be better to make something instead of just reading and watching some tutorials. So, I’ve decided to make a user registration API i.e, a simple registration form kinda thing with only sign up and sign in functions as of now. As learning Mongo was the main intention, I’ve decided just to make the core app which is the backend functionality and no front end as it’s not necessary and I hate to do it.15. MongoDB: Exploring Data Visualization Tools and TechniquesLooking for MongoDB data visualization tool? There are plenty of options but firstly its better to explore what kinds of solutions there are on the market.16. How to Back Up and Restore a MongoDB DatabaseMongoDB. Seven Ways to Back Up and Restore Data17. Building User Service With GRPC, Node.JS, and MongoDB: The Complete Microservice Tutorial — [Part 2]Microservices are about decoupling your system. In a monolith, you build all the components of the software in one large codebase and deploy the software at once. But in the microservice world, we build each component of a large system decoupled from each other.18. Creating a Object Storage System from scratchI was very much interested in developing distributed systems and the like. But it was very difficult to find related beginner articles. One of my projects was a cloud drive. In order to implement that, i had to go many places i haven't. It had a good steep learning curve. I wanted to share that knowledge.19. Discord Went From MongoDB to Cassandra Then ScyllaDB - Why?So, I’m going to summarize the above blog post for you because I had to read it several times to grasp everything. So, what exactly are MongoDB and Cassandra?20. Enabling Virtuals In Mongoose Lean Mode (in a FeathersJs service)Originally published at melvinkoh.me21. Using C# To Update MongoDB DocumentsSee code examples for how to update MongoDB documents in C#. This article covers the basics of different methods you can use to update records.22. Uploading a 1 Million Row CSV File to the Backend in 10 SecondsUploading 1 million row size large CSV to mongoDB using nodejs stream23. A Guide to Using MongoDB Database in a ASP NET Core Web API ApplicationWhen you think about database providers for ASP NET Core apps, you probably think about Entity Framework Core (EF Core), which handles interacting with SQL databases. But what about the NoSQL options? A popular option for NoSQL is MongoDB. So in this article we're going to learn how to create a simple ASP NET Core CRUD API using MongoDB as the database provider.24. I made AWS Lose Money - Here's How!This is a short series that I wanted to share for a long time about the basics of “Cost Optimization” on AWS.25. Efficient Server Side Pagination using MongodbHow to implement server-side pagination in MongoDB using aggregation pipeline instead of client-side pagination and why you should do it server-side instead.26. 2019 Database Trends – SQL vs. NoSQL, Top Databases, Single vs. Multiple Database UseWondering which databases are trending in 2019? We asked hundreds of developers, engineers, software architects, dev teams, and IT leaders at DeveloperWeek to discover the current NoSQL vs. SQL usage, most popular databases, important metrics to track, and their most time-consuming database management tasks. Get the latest insights on MySQL, MongoDB, PostgreSQL, Redis, and many others to see which database management systems are most favored this year.27. Which Database Is Right For You? HarperDB vs. MongoDB vs. PostgreSQLThe purpose of this article is not to determine which database is the best but to help determine which is a fit for your specific project.28. Get Started Building your First MERN Application - Step by StepI am sure that when you first begin learning full-stack web development using the MERN stack, you will have questions.29. Advanced and Efficient MongoDB PaginationHow to make clean pagination with no additional dependencies. Basically for Node.js but can be used in any other languages and platforms.30. Basic Guide To Building Microservices With MongoDB, NodeJs, And ExpressMost of us have gone through tough times where you have a large scale application which has a bunch of features, API integrations, database connections, etc. New features and updates get released, and of course you need to fix the bugs and maintain the code.31. Instant GraphQL + MongoDB Backend With MongokeImplementing a good GraphQL backend to serve your database data is not an easy task, you have to implement a lot of resolvers, add authorization, pagination of the fields and use a DataLoader to not repeat your database queries during relations.32. Best Tools For Building Your First MERN ApplicationTop tools to use when building your next awesome web application using the MERN stack33. Using MariaDB as a MongoDB NoSQL DatabaseUsing an intelligent database proxy, we'll demonstrate how you can perform complex SQL joins between a MariaDB and a MongoDB database.34. When Should You Use a Cache With MongoDB?Enterprises and customers are spread worldwide, with everyone wanting to work with the same data. MongoDB stores your data in an efficient and structured way.35. Deploying a Scalable and Secure Node.js REST API with MongoDB on AptibleLearn to deploy a secure Node.js REST API with MongoDB on Aptible. Build scalable web apps with robust security.36. Optimize Data Migration in MongoDB: Resharding Techniques for Speed and ScalabilityDistribute a MongoDB collection fast, "reshard-to-shard" distributes data quicker than others methods, spreading your workload across multiple shards in hours.37. Handling ORM-Free Data Access Layer in TypeScript With MongoDBIn this article, we’re going to discuss an alternative approach to handling data access layer in TypeScript with MongoDB, without using ORM.38. Let's Make An API And Sell ItAPIs are in high demand. Making an API that companies want to use would be even better if you could sell it, too. This is how to do it with every step inside.39. Simplify File Management in Node.js With Sanity CMS: A Step-by-Step Guide for Easy CRUD OperationsGuys, today we’ll be learning how to integrate Sanity CMS into our Node.js application, and we will in this guide, we will explore how to handle file uploads.40. How to Create a Serverless API Using Azure Cosmos DBIn this tutorial, we’ll build a Web API using Azure Functions that stores data in Azure Cosmos DB with MongoDB API in C#41. Building a REST API in Go with MongoDB Integration: A Step-by-Step GuideCode or Write a REST API with GO internal libraries and MongoDB as database42. Finding Bottlenecks in MongoDB: JMeter Profiling and Load Testing StrategiesLearn how to use JMeter to load test an e-commerce application and MongoDB Profiler to find slow queries.43. MongoDB 101: A Free Course By Academy 3TMongoDB is a document-based NoSQL database, typically used for its ability to quickly scale, especially large amounts of data. MongoDB has two clear main benefits over SQL when it comes to data organization:44. How I Built a Warehouse Management App Called CardusA web app that allows users to create and manage their warehouse of items.45. MongoDB Support for NestJS Boilerplate With Hexagonal ArchitectureNestJS Boilerplate with MongoDB support implementation with hexagonal architecture46. SSH Tunneling to AWS EC2 and Connecting to DocumentDB with PythonThe article is about how you can locally access your DocumentDB cluster via SSH Tunneling using Python.47. How to Integrate MongoDB in an AWS EC2 InstanceIntegrating MongoDB in an AWS EC2 instance involves several steps. The installation steps can vary depending on the Linux distribution you choose.48. Cut Your MongoDB Costs by 79% with Shape‑First OptimizationsProtect your Series A from pricey MongoDB scale‑ups: cut costs 79% with query tuning, schema refactoring, TTLs, and 48‑hour profiling fixes.49. How to Use .populate() With mongoDBHow to use populate() method with mongoDB to itch data across referenced collections50. Express Setup: Golang and Testcontainers UnwrappedDo we need all of this just to run a couple of integration tests for the database? The answer is obviously no.51. How to Build Your Own TODO-list Service With Golang and MongoDBMany have wondered how a simple task sheet or applications that provide such functionality work. In this article, we will write a small TODO service.52. Essential Databases Every Developer Should Be Familiar WithHere's that every kind of database that every developer to know about.53. Improving Our MongoDB Write Throughput with SQSDeep dive on how we got our MongoDB load at a steady sub 50% CPU load by using an SQS layer between our Node application and the database to save costs.54. How I build Coronavirus Tracking ApplicationWhat is Coronavirus (COVID-19)?Coronavirus (COVID-19) which is an infectious disease caused by respiratory illness and symptoms like flu, cough, fever, difficulty breathing, on December 31, 2019, the first case was recorded in Wuhan, China and later the virus got spread around the world and as of now, around 1 million+ confirmed cases are being recorded since then.You can protect yourself from this virus by following basic precautions like washing your hand frequently, avoid touching your face, maintaining a distance of (1 meter or 3 feet) between people and most importantly if you are sick then immediately call for medical help at your nearest hospital.55. InfluxDB: From Open Source Time Series Database to Millions in RevenueThe InfluxBD Origin Story: How Paul Dix took a failing SaaS product and turned it into a successful commercial open source time series database company.56. Why We Should Have Different DatabasesToday there are hundreds of SQL and NoSQL databases. Some of them are popular, some are ignored. Some are user-friendly and well documented and some are hard to use. Some are open sourced and some are proprietary. And, perhaps, the most important - some are scalable, optimized, highly available and some are difficult to scale or maintain.57. Building a Scalable Node Abstract Repository for MongoDBLightweight abstract and polymorphic MongoDB repository implementation for Node.js apps58. Top 3 Databases Every New Developer Should KnowMost new developers wonder which database is suitable for their project since they don't want to get off on the wrong foot. So, first and foremost, let's define a database. A database is a type of storage facility that electronically stores and organizes data so that it may be utilized and accessed later.59. 10 Web Development Boosting Node.js Libraries and Frameworks Take your Node.js skills to the next level with our top 10 library picks! Streamline workflows, optimize performance, and stay ahead of the competition60. MongoDB vs. DocumentDB: Which Is A Better Choice for You?Are you trying to decide if you should use MongoDB or DocumentDB? With the recent controversy surrounding licensing with MongoDB, it can be confusing to decide which option is right for your company or project. Amazon decided the core MongoDB code is challenging to scale while remaining highly available. Amazon wrote their implementation, which is compatible with the Apache 2.0 open source MongoDB 3.6 API. MongoDB, Inc. has also recently changed their license to make future imitations more difficult. To do this, they created an entirely new license called the Server Side Public License.61. Efficient File Uploads in Node.js: Using Express, MongoDB, and GridFS for Scalable StorageLearn how to efficiently handle file uploads in Node.js using Express, MongoDB, and GridFS to ensure scalability, security, and seamless file management.62. Design for E-Commerce Apps Using a NoSQL DatabaseWorking with a lot of data like products, orders, categories, users and payments is a very important topic when building e-commerce applications. In this post you'll learn the very basics of structuring your noSQL schema so it's fast and scalable for e-commerce scenarios.63. MongoDB vs. DynamoDB: Choosing the Best Database for Your BusinessAll about MongoDB vs DynamoDB. Explore benefits, and in-depth comparison to find out the best choice for your business app.64. Simplified Guide For Inserting Data Into MongoDB Using C#This article explains the basics of inserting documents into MongoDB in C#. See code examples of InsertOne, InsertMany, and their async counterparts.65. Learnings From The Meow Bot Attack on Our MongoDB Databasesand ever since then we never look at a kitty the same way again. meow!66. How To Create a URL Shortener using MongoDB And NodeLet us learn about MongoDB, Mongoose, Node, and other tech by building a simple URL shortener project.67. 8 Tools You Can Use to Analyze Big DataAn essential part of modern business, no matter what the industry, is Big Data - sets of copious amounts of data that reveal much in terms of trends and patterns regarding human behavior and interaction.68. Using C# To Delete Documents From MongoDBSee code examples for how to delete documents from MongoDB in C#. This article covers the basics of different methods you can use to delete records from Mongo!69. Meet MongoDB: HackerNoon Company of the WeekThis week, HackerNoon features MongoDB — a popular NoSQL database designed for scalability, flexibility, and performance.70. “I Want to Make my Own Netflix!” — So I Become a Software DeveloperGrowing up, I had an interest in learning and always dreamed of creating my own software.71. MongoDB 8.0 Upgrade Guide: What You Need to Know Before UpgradingLearn some of the new features of MongoDB 8.0 and the key considerations you should take into account before upgrading to the new version.72. Homebrew - Explained in Simple EnglishSo, there are tonnes of jargon, commands, processes that we follow blindly after surfing from the internet without knowing the actual reasons and under the hood processes, that just remain in our short term memory and get purged eventually, thus we don't feel comfortable using or even about discussing in a group about them.73. MongoDB - A Practical Guide for Beginners and Experts AlikeThis text is a practical guide to performing basic operations in MongoDB. It focuses on essential topics like CRUD operations (Create, Read, Update, Delete)74. Django MongoDB Backend Quickstart: Everything You Need to KnowFollow the quickstart to create a Django application, connect that application to a MongoDB deployment, and interact with the data stored in your database.75. Boost MongoDB Performance: Motor Client vs PyMongo - Which is Faster?To illustrate the performance differences, I prepared a stress test using two scripts: one using Motor (asynchronous) and the other using PyMongo (synchronous).76. VoidZero, The New ESLint, MongoDB 8.0, and More - This Week in JSThis week, we have exciting updates that will make your development workflow smoother and faster.77. A DIY Guide to Building an Analytics Dashboard with Node, Express, and Cube.jsIn the following tutorial, I’ll show you how to create a basic analytics dashboard with Node, Express, and Cube.js. As a database, we’re going to use MongoDB with MongoDB BI Connector. If you’re not familiar with it, I highly recommend you go through the Building a MongoDB Dashboard tutorial. It covers the basics of setting up Mongo and its BI Connector.78. A Brief Introduction to MongoDBMongoDB is a document-oriented NoSQL database for storing large amounts of data. MongoDB uses collections and documents instead of tables and rows79. MERN Stack: A Guide for New DevelopersSetting up a MERN stack application efficiently, leveraging a pre-configured repository and streamlined development environment management.80. NoSQL: A Brief History and the DynamoDB ChallengeDynamo accelerated the NoSQL revolution that’s driving the database industry.81. Benchmarks for Inserting Documents Using C# for MongoDBCurious about C# MongoDB insert benchmarks? In this article, I show you BenchmarkDotNet code and the results for several variations of inserting data!82. 🔥here's How I Built a Stunning Chat App With React 🚀Realtime Chat App built using React.js, Node.js, Socket.io, Express and MongoDB. This chat app is also responsive.83. How to Connect MongoDB(4.2.10) and MongoDB Compass LocallyWhat is MongoDB?84. Easily Run Local Databases Using C# Testcontainers for MongoDBLearn how to use C# Testcontainers for MongoDB! If you're developing a dotnet application and want to use MongoDB, Testcontainers can be a HUGE asset!85. Building a Task Manager API with NodeJS, Express, MongoDB, and HerokuThis article provides a step-by-step guide on how to build and deploy a Task Manager API using popular technologies such as NodeJS, Express, MongoDB, and Heroku86. SQL Databases Vs. NOSQL DatabasesThe decision to choose a database for project is not that simple. But when it comes to choosing a database, the biggest decisions is picking a relational (SQL) or non-relational (NoSQL) data structure.87. Automating MongoDB Sharded Cluster Deployment with AnsibleMaster the art of deploying MongoDB sharded clusters with Ansible—a detailed step-by-step guide for seamless automation.88. AvionDB: A MongoDB-like Distributed DatabaseIn the past few months we have been getting this question a lot:89. Breaking Down MSON Template QueriesTemplate Queries are dynamic templates constructed with MongoDB-style operators, which allow you to customize MSON components with less code.90. The Pros and Cons of NoSQLLearn how NoSQL differs from SQL and how it's built for high performance and availability. And no, it doesn't stand for "No SQL".91. Making Cooking a Breeze By Building Your Own Recipe Finder With NodejsThe Recipe Finder API is a versatile solution for efficiently storing and retrieving recipes based on ingredients, dietary needs, and other preferences.92. How to Run Node.js with MongoDB [Tutorial]Many of today’s web applications use node.js in conjunction with MongoDB to store and access data on the backend server. Not only does node.js excel in ease of access to non-relational databases like MongoDB, but brings scalability and speed to the server side of your app.93. CP Systems Explained, Part 2: Quorums, Consensus, and the Price of Being RightLet's look at what CP systems actually do under the hood when they choose consistency over availability.94. Self-Healing Infrastructure Could Be the Future of Data ManagementAI-driven automation in database management transforms reactive ops into predictive, self-healing systems for scale, reliability, and performance.95. I Tried Every Open Source Database and Found Only One That is Actually UsefulLet's walk through this journey. My journey. Maybe it helps someone else avoid the same database-induced headache.96. I Built an Open-Source Schema Visualization Tool for Mongoose/MongodDB Under 1000 Lines of CodeThis article is about an open-source tool that can create schema visualizations from Mongoose schema files.97. How to Change Parameters of a Server at RuntimeImplementation of business configuration provider tips. Java, Spring and MongoDB in action98. The Noonification: State of the Noonion 2024: HackerNoon Keeps on Blogging (4/2/2024)4/2/2024: Top 5 stories on the HackerNoon homepage!99. MEAN Stack Development: All That You Need To KnowWeb development is not the same it was in the early internet age. It is a fast-paced and diverse environment. With the continuous advancements in frameworks, programming languages and tools, it becomes difficult to choose the “right” tech to ensure rapid, accurate and secured web application development.100. Is MEAN Tech Stack the Best Choice for Enterprise Solutions?Get to know why the MEAN tech stack for enterprise solutions is the way to go about scalable, secure, and sustainable software for organizations.101. How to Stream XML messages from IBM MQ into Kafka into MongoDBLet’s imagine we have XML data on a queue in IBM MQ, and we want to ingest it into Kafka to then use downstream, perhaps in an application or maybe to stream to a NoSQL store like MongoDB.102. Beginner’s Guide For Easy MongoDB Filters in C#Learn the basics of MongoDB Filtering in C# with simple code examples! See how to use the MongoDB FilterDefinitionBuilder to support filtering in MongoDB.103. Lessons I Learned From Managing Hundreds of Millions of Data in MongoDBIn this post, I will share r.eal experience that I gained while working with hundred's of millions of pieces of data in MongoDB104. How to Stop Your MongoDB Cluster from Going Read-Only at the Worst Possible TimeA knowledge of MongoDB’s election process and quorum requirements is important before choosing the best approach.105. How to Find Insecure MongoDB Connection Strings in Public GitHub RepositoriesA guide on how to protect yourself and your projects while on Github.106. Mongo Lens Earns a 46 Proof of Usefulness Score by Building a Powerful Mobile MongoDB ClientMongo Lens earns a 46 Proof of Usefulness score, offering a mobile MongoDB client for secure, on-the-go database management and visualization.107. Tracking Mongoose Query Times with a Few Lines of CodeThis article details how to build a lightweight query profiler using Mongoose pre and post hooks without having to integrate APM tools.108. Mongo Speaks Mongo here. Mongo not always DBA, once Mongo just simple man, love horse, love outdoors109. The Ultimate Guide To Custom Role Based Access Without Third Party LibrariesHere, we have four roles: Sme, Sponsor, Admin, Operations.Initially, we had only 3 roles.Operations role was added later and Operations user has permissions similar to the Admin user.In the code, we had to replace every instance of if (user.type == USER_TYPES.ADMIN) with if (user.type == USER_TYPES.ADMIN || user.type == USER_TYPES.OPERATIONS).As this is time consuming and we can also miss many instances, we have created a roles module. In the roles module,the roles are defined along with their respective permissions as seen in Code (Part-III). Based on the permissions for each role, we will evaluate the authorization for the user in each of our controller methods.If the user has access, only then he will be granted the resources.110. When ORMs Disobey: A Mongoose StoryIn hindsight, it seems like mongoose was doing the sensible thing by simply ensuring that the document existed in the database.111. Py-DockerDB: Simplifying Programmatic Database HandlingLocal database setup is deceptively expensive. It introduces variance into your dev environments and bakes hidden assumptions into your codebase. I wanted every112. AvionDB Introduction: A MongoDB-like Distributed DatabaseIn the past few months we have been getting this question a lot:113. The Noonification: The Denominator (5/9/2023)5/9/2023: Top 5 stories on the Hackernoon homepage!114. The Noonification: Nvidias Ascent Proves AI is Where Its At 🤖 (6/7/2023)6/7/2023: Top 5 stories on the Hackernoon homepage!Thank you for checking out the 114 most read blog posts about Mongodb on HackerNoon.Visit the /Learn Repo to find the most read blog posts about any technology.