<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/mongodb/best-of/2021" -->

---
title: Best MongoDB posts of 2021 | daily.dev
description: The most upvoted MongoDB posts of 2021, curated by the daily.dev community.
canonical: https://daily.dev/tags/mongodb/best-of/2021
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/mongodb/best-of/2021
og:type: website
og:site_name: daily.dev
og:title: Best MongoDB posts of 2021 | daily.dev
og:description: The most upvoted MongoDB posts of 2021, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of MongoDB — 2021

1. 1  
[](/posts/free-100-mern-mean-stack-resources-ldsccjgtv "Free 100+ MERN / MEAN Stack resources")  
Article  
![Avatar of devdojo](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/e258fd9dff884055b7b59df7fd1d7bd7)DevDojo · 5y  
Free 100+ MERN / MEAN Stack resources  
I have gathered all the resources that you will require to become a MERN or MEAN stack developer. All these resources will include Articles, Videos, Course, Websites, Tutorials, Books etc. And everything is FREE. You should know the basics of HTML, CSS AND JS.  
142  
5
2. 2  
[](/posts/a-list-of-70-open-source-clones-of-popular-sites-40kuyrhwj "A list of 70+ open source clones of popular sites")  
Article  
![Avatar of changelog](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f65a74bcb028447aa606f06695d607d3)Changelog · 6y  
A list of 70+ open source clones of popular sites  
100+ open-source clones and alternatives of popular sites like Airbnb, Amazon, Instagram, Netflix, Tiktok, Spotify, Whatsapp, Youtube, etc. List contains source code, tutorials, demo links, tech stack, and GitHub stars count. Great for learning purpose!  
98  
3
3. 3  
[](/posts/mongodb-complete-guide--e-v3qpaz "MongoDB — Complete Guide")  
Article  
![Avatar of faun](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)Faun · 5y  
MongoDB — Complete Guide  
MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is built for modern application developers and for the cloud era. NoSQL is used to store structured as well as unstructured data.  
77  
5
4. 4  
[](/posts/create-a-mern-stack-app-with-a-serverless-backend-s2aobyso0 "Create a MERN Stack App with a Serverless Backend")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 5y  
Create a MERN Stack App with a Serverless Backend  
MERN Stack App with a Serverless Backend. Create a MERN stack app with a serverless backend. Use the MERN App Manager to help you create your own Stack App. The MERN app manager can also be used to test your Stack App's functionality.  
77  
4
5. 5  
[](/posts/build-an-api-in-node-js-using-aws-api-gateway-mongodb-and-serverless-foxlcigfv "Build an API in Node.js using AWS, API Gateway, MongoDB, and Serverless")  
Article  
![Avatar of jsPlainEnglish](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)JavaScript in Plain English · 6y  
Build an API in Node.js using AWS, API Gateway, MongoDB, and Serverless  
This tutorial shows you how to build a secure REST API for a Notetaking react-redux application using MongoDB database as a service. We will follow a Serverless approach using AWS Lambda, API Gateway, and the Serverless framework. In Part 1, we are going to build the backend, and to go through this tutorial, you will need the following.  
49  
2
6. 6  
[](/posts/mangodb-io-mangodb-a-truly-open-source-mongodb-alternative-8ttymvwup "MangoDB-io/MangoDB: A truly Open Source MongoDB alternative")  
Article  
![Avatar of changelog](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f65a74bcb028447aa606f06695d607d3)Changelog · 5y  
MangoDB-io/MangoDB: A truly Open Source MongoDB alternative  
MangoDB is an open-source proxy, which converts MongoDB wire protocol queries to SQL. It uses Postgres as a database engine. MangoDB will be compatible with MongoDB drivers and will work as a drop-in replacement for MongoDB in many cases. It is in a very early stage and welcomes all contributors.  
37  
3
7. 7  
[](/posts/should-i-use-mongodb-or-postgresql--oq5s6wmzf "Should I Use MongoDB or PostgreSQL?")  
Article  
![Avatar of geekculture](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9ed83f96af5243178a743739c98143c4)Geek Culture · 5y  
Should I Use MongoDB or PostgreSQL?  
MongoDB and Postgres are two of the most popular databases. We are going to cover their key features, functionality, performance, and their use cases. MongoDB is a schema-free document-oriented store. Postgres is ideal for transactional workflows that make it reliable in production.  
30  
3
8. 8  
[](/posts/how-discord-stores-billions-of-messages-vcw8lyoarc "How Discord Stores Billions of Messages")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 5y  
How Discord Stores Billions of Messages  
Discord was built in just under two months in early 2015\. The messages were stored in a MongoDB collection with a single compound index. The data and the index could no longer fit in RAM and latencies started to become unpredictable. It was time to migrate to a database more suited to the task.  
29  
2
9. 9  
[](/posts/learn-the-farm-stack-fastapi-react-mongodb--kn96wdndh "Learn the FARM Stack! (FastAPI, React, MongoDB)")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 5y  
Learn the FARM Stack! (FastAPI, React, MongoDB)  
Learn the FARM Stack! (FastAPI, React, MongoDB) Beau Carnes is the co-founder of FARM, an open source software company. Visit FARM on Facebook, Twitter, and Instagram. For more information, visit FARM's official website.  
29  
1
10. 10  
[](/posts/building-a-restful-crud-api-with-node-js-express-and-mongodb-suymjlqhw "Building a Restful CRUD API with Node JS, Express, and MongoDB")  
Article  
![Avatar of hashnode](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4)Hashnode · 5y  
Building a Restful CRUD API with Node JS, Express, and MongoDB  
An API is a software interface that enables two apps to communicate with one another. 60% of eBay transactions are via their API. We’ll be building a RESTful CRUD (Create, Retrieve, Update, Delete) API with Node.js, Express, and MongoDB. Create a new folder named nodejs-api and open it in any Code Editor.  
23
11. 11  
[](/posts/kubernetes-crash-course-for-absolute-beginners--cpqxumeen "Kubernetes Crash Course for Absolute Beginners 👏")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 5y  
Kubernetes Crash Course for Absolute Beginners 👏  
Kubernetes is the most popular platform for container orchestration for automating deployment, scaling, and management of containerized applications. In this crash course you will learn everything you need to know to get started with Kubernetes in 1 hour. You will learn all the core concepts, its architecture and how Kuber netes works. You'll learn the syntax and contents of K8s configuration file, which is used to create and configure components in a Kuber Netes cluster.  
18
12. 12  
[](/posts/how-to-create-a-youtube-downloader-with-node-js-and-react-v6bctpcac "How to Create a YouTube Downloader with Node.js and React")  
Article  
![Avatar of jsPlainEnglish](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)JavaScript in Plain English · 5y  
How to Create a YouTube Downloader with Node.js and React  
In this tutorial, we will be building a YouTube downloader with the backend implemented in Express and the frontend in React. The basic flow of the app: User will provide a YouTube video link The backend server will push this video link in the queue to process the download. When the job is popped from the queue for processing, the backend emits the event for the client.  
15
13. 13  
[](/posts/build-crud-api-with-node-js-express-and-mongodb-oazkroeov "Build Crud API with Node.js, Express, and MongoDB")  
Article  
![Avatar of devdojo](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/e258fd9dff884055b7b59df7fd1d7bd7)DevDojo · 5y  
Build Crud API with Node.js, Express, and MongoDB  
In this blog, we’ll be building a CRUD App with Node.js, Express, and MongoDB. CRUD is an acronym for Create, Read, Update and Delete. We will use Mongoose for interacting with the MongoDB instance. We'll heavily use ES6 features like let, const, arrow functions, promises.  
14
14. 14  
[](/posts/building-a-url-shortener-with-node-js-gf3ranywv "Building a URL shortener with Node.js")  
Article  
![Avatar of logrocket](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/logrocket)LogRocket · 5y  
Building a URL shortener with Node.js  
URL shorteners like Bitly and Cuttly are incredibly popular. In this article, we are going to create a similar tool by building an API service that shortens the URLs provided to it. For each URL passed into our API, we will generate a unique ID and create a short URL with it. Then, the long URL, short URL, and unique ID will be stored in the database.  
14
15. 15  
[](/posts/creating-a-simple-rest-api-using-express-js-mongodb-pozmqj-z3 "Creating a simple REST API using Express.js + MongoDB")  
Article  
![Avatar of jsPlainEnglish](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)JavaScript in Plain English · 6y  
Creating a simple REST API using Express.js + MongoDB  
This tutorial will show you how to develop a simple REST API using Express.js and MongoDB. At the end, the REST API will be used in React Application from my previous article: Basic React Components and Props using API for showing lots of cats. The API can be used to retrieve cat data from a database.  
13
16. 16  
[](/posts/build-an-api-using-node-express-mongodb-and-docker-gdmyax8ay "Build an API using Node, Express, MongoDB, and Docker")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 5y  
Build an API using Node, Express, MongoDB, and Docker  
In this tutorial, we'll be using TypeScript and Docker to build a Menu Restaurant API app from scratch with Node, Express, and MongoDB. The Docker part is optional.Basically, we should be able to:retrieve all menus.retrieve one menu.create a menu.update a menu (or delete it)  
12  
1
17. 17  
[](/posts/mongodb-vs-mysql-when-to-use--a9yfj6j5q "MongoDB Vs. MySQL: When to Use?")  
Article  
![Avatar of dz](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/dz)DZone · 6y  
MongoDB Vs. MySQL: When to Use?  
12  
1
18. 18  
[](/posts/serverless-is-sort-of-stupid-ozzycxd90 "Serverless is (sort of) stupid")  
Article  
![Avatar of hashnode](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4)Hashnode · 6y  
Serverless is (sort of) stupid  
12  
2
19. 19  
[](/posts/building-a-real-time-todo-app-with-drayman-mongodb-and-tailwind-css-ifmypchad "Building a real-time Todo app with Drayman, MongoDB and Tailwind CSS")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 5y  
Building a real-time Todo app with Drayman, MongoDB and Tailwind CSS  
In this guide we will build a real-time Todo app with Drayman, MongoDB and Tailwind CSS. We will use Change Stream functionality of MongoDB to make our Todo list work in real time. This way if something gets changed in the database, our application will reflect these changes.  
10  
2

[See all MongoDB archives](/tags/mongodb/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/mongodb/best-of/2021#page","url":"https://daily.dev/tags/mongodb/best-of/2021","name":"Best MongoDB Posts of 2021","description":"The most upvoted MongoDB posts of 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/mongodb/best-of/2021#items","numberOfItems":19,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/free-100-mern-mean-stack-resources-ldsccjgtv","name":"Free 100+ MERN / MEAN Stack resources"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/a-list-of-70-open-source-clones-of-popular-sites-40kuyrhwj","name":"A list of 70+ open source clones of popular sites"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/mongodb-complete-guide--e-v3qpaz","name":"MongoDB — Complete Guide"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/create-a-mern-stack-app-with-a-serverless-backend-s2aobyso0","name":"Create a MERN Stack App with a Serverless Backend"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/build-an-api-in-node-js-using-aws-api-gateway-mongodb-and-serverless-foxlcigfv","name":"Build an API in Node.js using AWS, API Gateway, MongoDB, and Serverless"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/mangodb-io-mangodb-a-truly-open-source-mongodb-alternative-8ttymvwup","name":"MangoDB-io/MangoDB: A truly Open Source MongoDB alternative"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/should-i-use-mongodb-or-postgresql--oq5s6wmzf","name":"Should I Use MongoDB or PostgreSQL?"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/how-discord-stores-billions-of-messages-vcw8lyoarc","name":"How Discord Stores Billions of Messages"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/learn-the-farm-stack-fastapi-react-mongodb--kn96wdndh","name":"Learn the FARM Stack! (FastAPI, React, MongoDB)"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/building-a-restful-crud-api-with-node-js-express-and-mongodb-suymjlqhw","name":"Building a Restful CRUD API with Node JS, Express, and MongoDB"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/kubernetes-crash-course-for-absolute-beginners--cpqxumeen","name":"Kubernetes Crash Course for Absolute Beginners 👏"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/how-to-create-a-youtube-downloader-with-node-js-and-react-v6bctpcac","name":"How to Create a YouTube Downloader with Node.js and React"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/build-crud-api-with-node-js-express-and-mongodb-oazkroeov","name":"Build Crud API with Node.js, Express, and MongoDB"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/building-a-url-shortener-with-node-js-gf3ranywv","name":"Building a URL shortener with Node.js"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/creating-a-simple-rest-api-using-express-js-mongodb-pozmqj-z3","name":"Creating a simple REST API using Express.js + MongoDB"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/build-an-api-using-node-express-mongodb-and-docker-gdmyax8ay","name":"Build an API using Node, Express, MongoDB, and Docker"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/mongodb-vs-mysql-when-to-use--a9yfj6j5q","name":"MongoDB Vs. MySQL: When to Use?"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/serverless-is-sort-of-stupid-ozzycxd90","name":"Serverless is (sort of) stupid"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/building-a-real-time-todo-app-with-drayman-mongodb-and-tailwind-css-ifmypchad","name":"Building a real-time Todo app with Drayman, MongoDB and Tailwind CSS"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"MongoDB","item":"https://daily.dev/tags/mongodb"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/mongodb/best-of"},{"@type":"ListItem","position":5,"name":"2021"}]}]}
```

