Best of Express.jsJuly 2024

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

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    What is the tRPC Library? Explained with a Demo Project

    tRPC is a type-safe TypeScript-based library that enhances the RPC API design for handling API requests and responses. It eliminates the need for traditional REST and Fetch APIs by using a query system that ensures data integrity between the client and server. By leveraging TypeScript and the Zod library, tRPC ensures that data types match between the front end and back end, preventing errors. This post explains tRPC's benefits, setup, and usage through a detailed demo project that integrates tRPC with React and Express.