Best of MongoDB2024

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Deploy a Web App

    Deploying a web application can be simplified with the right guidance. Kerollos Magdy, a Microsoft software engineer, presents a comprehensive course on the freeCodeCamp.org YouTube channel. The course covers deploying web applications using services like Azure, Render, and MongoDB Atlas. It provides step-by-step instructions, starting with free options and then delving into Azure. It also includes setting up databases, deploying backend services, and integrating frontends, offering a broad understanding of various deployment environments.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Building a CRUD Application with the MERN Stack: A Step-by-Step Guide

    This guide walks you through building a CRUD application using the MERN stack. It covers setting up the backend with Express, MongoDB, and Mongoose, creating API routes for CRUD operations, and setting up the frontend with React. The frontend components include TodoList, TodoItem, and TodoForm, and the guide explains how to integrate these components and run the application.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Writing A Microservice Using Node.js

    The post discusses the benefits of using Node.js for web services development and explains how to build a microservice using Node.js. It covers topics such as the tech stack, database choice, web framework, validation, configuration, static analysis, testing, logging, metrics, monitoring stack, local infrastructure with Docker, and continuous integration. The code examples and explanations provide valuable insights for Node.js web developers.

  4. 4
    Article
    Avatar of collectionsCollections·2y

    Databases In-Depth – Complete Course

    A comprehensive course on database architecture and optimization, designed by Keerti Purswani and available on freeCodeCamp.org's YouTube channel. It covers transaction management, storage engines, advanced indexing techniques, an in-depth look at SQLite, and understanding MongoDB and PostgreSQL. Suitable for both beginners and experienced engineers, the course aims to equip learners with the skills to manage and optimize data systems efficiently.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build an Application With Node.js

    Learn how to build an event management application using Node.js, Express.js, and MongoDB. The guide covers setting up a Node.js project, creating a server with Express.js, rendering dynamic pages with embedded JavaScript (ejs), connecting to a MongoDB database, and creating models and schemas for data. It also includes steps for handling HTTP requests and responses, creating HTML pages, organizing code with partials, and securing sensitive information with environment variables.

  6. 6
    Article
    Avatar of bytebytegoByteByteGo·2y

    How Stripe Scaled to 5 Million Database Queries Per Second

    Stripe processes $1 trillion in payments and supports 5 million database queries per second with 99.999% uptime. This scalability is achieved through their internal database-as-a-service (DBaaS) called DocDB, which extends MongoDB's community edition. DocDB includes features like horizontal scaling, multi-tenancy, strong security, and a Data Movement Platform that facilitates zero-downtime data migrations across database shards.

  7. 7
    Article
    Avatar of devtoDEV·2y

    Go and MongoDB: Building a CRUD API from Scratch

    Learn to build a basic CRUD API using Go and MongoDB, including setup, project structure, model definition, MongoDB connection, and API handlers for create, read, update, and delete operations. Detailed code examples and tips for error handling, security, and database design are provided to help you successfully develop a scalable and efficient web application.

  8. 8
    Article
    Avatar of supabaseSupabase·2y

    The Open Source Firebase Alternative

    FerretDB is an open source document database that adds MongoDB compatibility to other database backends like Postgres and SQLite. This post explains how to run FerretDB locally via Docker, test it with mongosh, and deploy it on Fly.io for production.

  9. 9
    Article
    Avatar of devtoDEV·2y

    When to use SQL vs NoSQL

    Choosing between SQL and NoSQL databases can be daunting. SQL excels in data consistency and complex querying, while NoSQL offers scalability and flexibility. Common misconceptions include inflexibility of SQL databases and the lack of transactional support in NoSQL.

  10. 10
    Video
    Avatar of youtubeYouTube·2y

    MERN Stack Full Course - ECommerce App with Admin Panel : React, Redux Toolkit, Tailwind, MongoDB

    This post provides a comprehensive guide for building an industry-level e-commerce application using the MERN stack, including React, Redux Toolkit, Node.js, Express, and MongoDB. The app features a separate admin panel for managing products and orders, supports PayPal payment integration, and includes product listing and checkout functionalities. The post also covers setting up the project structure, configuring the server and database, and integrating frontend and backend technologies.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Build a Login and Logout API using Express.js (Node.js)

    Learn to build a secure login and logout system using Express.js in Node.js. The tutorial covers setting up development files, installing dependencies, and creating a MongoDB database. It explains the basics of authentication and authorization, the logic for user registration and login, password hashing, and session management using JWT tokens. Additionally, it shows how to implement middleware for verifying user sessions and roles, and how to handle user logout securely.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Dive into Backend Development by Building a CRUD API with Node and MongoDB

    Learn backend development by building a CRUD API using Node, Express, and MongoDB.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Write Cleaner Code Using Mongoose Schemas

    Learn to write cleaner and more maintainable code in your NodeJS applications using Mongoose schemas. Key concepts include discriminators for creating multiple models with shared schemas, statics for reusable model-level methods, methods for custom instance-level functions, and hooks for adding custom behavior during different document lifecycle stages. These features help organize your data and streamline your database operations.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    MERN Stack Roadmap – How to Learn MERN and Become a Full-Stack Developer

    Learn the MERN stack, a widely-used technology stack for building efficient and scalable web applications. Get started with HTML, JavaScript, and CSS. Explore React for frontend development. Understand REST APIs and backend server development using Express and Node. Learn about MongoDB and Mongoose for database management. Write tests for your MERN stack applications. Get familiar with Git for version control. Deploy your MERN stack applications. Access top resources for learning the MERN stack and try out 10 project ideas today!

  15. 15
    Video
    Avatar of freecodecampfreeCodeCamp·2y

    FARM Stack Course – Full Stack Development with FastAPI, React MongoDB

    The FARM stack is a modern web development stack that combines FastAPI for the backend, React for the front end, and MongoDB for the database. This course covers each component, their integration using Docker, and steps to build a full-featured to-do application. FastAPI provides a high-performance Python framework for APIs, React enables efficient UI creation, and MongoDB offers flexible, document-oriented data storage. The tutorial emphasizes setting up the development environment, creating API endpoints, building a responsive UI, and managing databases, culminating in a Dockerized application deployment.

  16. 16
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Add Filtering, Sorting, Limiting, and Pagination to Your Nest.js App

    Learn how to add filtering, sorting, limiting, and pagination to your Nest.js app using MongoDB.

  17. 17
    Video
    Avatar of jherrJack Herrington·2y

    Payload: The Complete Backend for NextJS

    Build a movie voting application using Payload 3.0, an open-source backend framework that pairs seamlessly with NextJS. The app includes a detailed admin panel without writing code, supports Postgres and MongoDB, and showcases easy deployment. The tutorial covers creating collections, setting up a database, configuring environment variables, building the front-end with Tailwind CSS, adding server actions, and deploying via Vercel.

  18. 18
    Article
    Avatar of aiAI·1y

    I've build a platform for everything-AI!

    MyAiHub.ai is a newly launched platform for AI enthusiasts and professionals, designed to consolidate AI resources in one place. It was built using React, TypeScript, MongoDB, and Express.js. The project is open to feedback and aims to evolve with the AI community's needs.

  19. 19
    Video
    Avatar of freecodecampfreeCodeCamp·2y

    Build a Full Stack Book Store App Using React, Node, MongoDB

    Learn how to build a full stack M Stack application that includes both front end and back end, featuring React on the front end, Node and Express on the back end, and MongoDB as the database. The project will cover essential functionalities such as an admin dashboard, cash on delivery features, inventory management, and a user-friendly interface for adding and removing products. The tutorial also includes JWT for authentication and Redux toolkit for state management.

  20. 20
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Add JWT-Based Authentication in NestJS

    This guide walks through setting up JWT-based authentication in a NestJS application using MongoDB. It covers creating a new NestJS project, setting up the MongoDB database, building user models and schemas, implementing login and signup functionalities with JWT tokens, and testing the endpoints using Postman. It provides a complete solution for secure user authentication, including creating a robust and scalable authentication system.

  21. 21
    Article
    Avatar of asayerasayer·2y

    Mongoose: simplifying MongoDB for Node.js

    Mongoose is a popular Object Document Mapper (ODM) for simplifying MongoDB in Node.js applications. It offers built-in validation, schema definitions, and a plugin system for custom features. The post provides a step-by-step guide on installing Mongoose, setting up a connection, handling connection errors, creating schemas and models, and performing CRUD operations. Key error management techniques and Mongoose query examples are also discussed to ensure reliable application development.

  22. 22
    Article
    Avatar of systemweaknessSystem Weakness·2y

    MERN Stack Development Guide

    MERN Stack is a comprehensive JavaScript framework consisting of MongoDB, Express.js, React, and Node.js. It offers advantages like using a single language for frontend and backend development, code reusability, and a large supportive community. To start MERN development, install Node.js and npm, and set up the Express.js server. Connect to MongoDB, implement CRUD operations, handle errors, and follow security best practices. Test the API and document it using tools like Swagger or Postman.

  23. 23
    Article
    Avatar of asayerasayer·2y

    Handling env files in the latest Node.JS

    Learn about how env files were handled in Node.JS before the recent releases, the purpose of env files, and how to upgrade your Node.JS version.

  24. 24
    Article
    Avatar of quastorQuastor Daily·1y

    The Architecture of Stripe's Document Database

    Stripe built DocDB, an internal document database service on top of MongoDB, to efficiently manage large-scale data operations. DocDB facilitates dynamic rebalancing of data shards, ensuring data consistency and operational control. Key features include handling petabytes of data, zero-downtime data migrations, and fine-grained data distribution control.

  25. 25
    Article
    Avatar of mongoMongoDB·2y

    Microservices: Realizing the Benefits Without the Complexity

    Microservices can deliver reliable applications, but they come with complexity. Combining Temporal and MongoDB can simplify service orchestration and data management, making it easier to handle a wide variety of data and eliminate the need for complex infrastructure. Developers can focus on coding and solving business problems.