Best of MongoDBJuly 2024

  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 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.

  4. 4
    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.

  5. 5
    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.

  6. 6
    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.

  7. 7
    Article
    Avatar of mongoMongoDB·2y

    Anti-Money Laundering and Fraud Prevention With MongoDB Vector Search and OpenAI

    Anti-money laundering (AML) and fraud prevention have evolved significantly, from manual processes and rule-based systems (Risk 1.0) to predictive modeling (Risk 2.0), and now to real-time analytics with vector search (Risk 3.0). MongoDB Atlas Vector Search, integrated with OpenAI embeddings, offers a powerful solution for detecting fraud and AML by addressing limitations like lack of context and manual feature engineering. This holistic approach leverages real-time data and continuous monitoring, making fraud detection more accurate and less reliant on extensive human oversight.

  8. 8
    Article
    Avatar of hnHacker News·2y

    Mongo but on Postgres and with strong consistency benefits

    Pongo allows you to use MongoDB-like syntax on a PostgreSQL backend, taking advantage of the strong consistency and advanced querying capabilities of PostgreSQL. It leverages the JSONB format for improved performance and storage efficiency. Pongo is installed via npm and can be used with explicit typing or a MongoDB-compliant shim, translating MongoDB operations into native PostgreSQL queries.

  9. 9
    Article
    Avatar of devsquadDev Squad·2y

    MongoDB Essentials: What is MongoDB, Collections, and Documents?

    MongoDB is a NoSQL database that uses a flexible, document-oriented approach to store data instead of the traditional table-based structure. A collection in MongoDB groups together multiple documents and acts like a folder in a file system. Documents, the basic unit of data in MongoDB, are similar to records in a spreadsheet or JSON objects, containing various fields and values representing the data.