Saltar al contenido principal
Academind
Todos los cursos

Curso de Academind Pro

React, NodeJS, Express & MongoDB - The MERN Fullstack Guide

Build fullstack React.js applications with Node.js, Express.js & MongoDB (MERN) with this project-focused course.

  • 14 secciones · 209 lecciones
  • 18 h y 44 min en total
React, NodeJS, Express & MongoDB - The MERN Fullstack Guide

Sobre este curso

You can build React components, but turning that into a real, end-to-end web app can feel like a wall: where does the backend live, how does data flow, and what happens when users need accounts and permissions?

This course closes that gap by walking you through a complete fullstack build, step by step. You’ll revisit the key building blocks first, then connect them in a single project so you understand not just what to write, but why each piece belongs where it does.

By the end, you’ll be able to create your own fullstack applications with confidence—handling real user flows, shipping features that require server-side logic, and getting your work live via multiple hosting options so it’s not stuck on your laptop.

Lo que aprenderás

You’ll connect a React frontend to a Node/Express backend with MongoDB, then round it out with real-world features like auth, uploads, and deployment options.

  1. 01

    Connect frontend and backend

    Build ReactJS interfaces that communicate with a NodeJS + Express backend and persist data in MongoDB, so your app works as one system instead of disconnected parts.

  2. 02

    MERN stack architecture

    Decide how React.js, Express.js, Node.js, and MongoDB fit together in a fullstack setup, and choose practical ways of combining them for different application needs.

  3. 03

    Authentication flows

    Implement user signup and login so your app can identify users reliably and support real product requirements instead of anonymous demo interactions.

  4. 04

    Authorization rules

    Control access to specific resources by adding authorization logic, so only the right users can read, edit, or manage protected parts of your application.

  5. 05

    File upload pipeline

    Add file (image) upload end-to-end: send files from React.js and receive/process them in Node/Express, integrating uploads into your app’s normal user experience.

  6. 06

    Deploy in multiple ways

    Deploy your application using different approaches for different hosting services, following detailed instructions so you can pick the option that fits your project and constraints.

Requisitos previos

  • Basic ReactJS knowledge is required (a refresher is included, but React is not taught from the ground up).

  • ReactJS Hooks knowledge is recommended.

  • Basic Node, Express, and MongoDB knowledge is recommended but not required.

Para quién es este curso

  • React developers

    You already know the React basics and you’re ready to build something that feels like a real product, not just isolated UI. This is the next step when you want a complete app, not just components.

  • Advanced React builders

    You’re comfortable in React and want to stop guessing how to connect it to a backend. This course is for you if you want a clear, structured path to a fullstack workflow.

  • Node/Express developers

    You can build backend logic, but you want to add a modern frontend and deliver a full experience. This course helps you bridge into React so your backend becomes a complete web app.

Temario

Echa un vistazo a la estructura y el ritmo de este curso antes de empezar.

  1. 1First Section8 lecciones · 17 min
    1. 01Introduction1:47 min
    2. 02What is the "MERN Stack"?7:31 min
    3. 03MERN - A First Overview2:11 min
    4. 04Join our Online Learning Community0:00 min
    5. 05Course Outline2:13 min
    6. 06How To Get The Most Out Of The Course2:52 min
    7. 07Using the Course Resources0:00 min
    8. 08The Academind Pro Referral Program0:00 min
  2. 2The MERN Stack - Theory10 lecciones · 54 min
    1. 01Module Introduction1:18 min
    2. 02Understanding the Big Picture8:04 min
    3. 03Diving Into the Frontend4:06 min
    4. 04Understanding the Backend5:10 min
    5. 05REST vs GraphQL7:54 min
    6. 06Connecting Node & React5:50 min
    7. 07Quiz 1: MERN - Essentials0:00 min
    8. 08Creating our Development Environment & the Development Servers11:24 min
    9. 09Diving Deeper Into the Code9:45 min
    10. 10Useful Resources & Links0:00 min
  3. 3Planning the App5 lecciones · 25 min
    1. 01Module Introduction4:50 min
    2. 02Understanding the General App Idea2:35 min
    3. 03Sketching out the Frontend9:37 min
    4. 04Data & API Endpoints used in our App5:19 min
    5. 05Required SPA Pages for the Frontend2:56 min
  4. 4React.js - A Refresher16 lecciones · 1 h y 6 min
    1. 01Module Introduction1:12 min
    2. 02What is React?3:13 min
    3. 03Setting Up a Starting Project4:03 min
    4. 04Understanding JSX5:31 min
    5. 05Understanding Components2:50 min
    6. 06Working with Multiple Components7:04 min
    7. 07Using Props to pass Data between Components6:52 min
    8. 08Rendering Lists of Data4:30 min
    9. 09Handling Events7:24 min
    10. 10Efficient Child<=>Parent Communication4:38 min
    11. 11Working with "State"5:54 min
    12. 12More on State4:20 min
    13. 13Fetching User Input (Two-way Binding)5:52 min
    14. 14Quiz 2: React.js Basics0:00 min
    15. 15Wrap Up2:11 min
    16. 16Useful Resources & Links0:00 min
  5. 5React.js - Building the Frontend40 lecciones · 4 h y 22 min
    1. 01Module Introduction2:32 min
    2. 02Starting Setup, Pages & Routes17:03 min
    3. 03Adding a UsersList Page / Component9:29 min
    4. 04Adding a UserItem Component3:41 min
    5. 05Styling our App & More Components7:17 min
    6. 06Presentational vs Stateful Components3:22 min
    7. 07Adding a Main Header9:46 min
    8. 08Adding Navlinks5:05 min
    9. 09Implementing a Basic Desktop & Mobile Navigation4:21 min
    10. 10Understanding Portals3:00 min
    11. 11Handling the Drawer State4:07 min
    12. 12Animating the Sidedrawer5:14 min
    13. 13Rendering User Places & Using Dynamic Route Segments16:12 min
    14. 14Getting Route Params2:16 min
    15. 15Adding Custom Buttons2:53 min
    16. 16Adding a Modal17:26 min
    17. 17Rendering a Map with Google Maps14:36 min
    18. 18Continuing without a Credit Card0:00 min
    19. 19Optional: More on the useEffect() Hook0:00 min
    20. 20Adding a Custom Form Input Component9:42 min
    21. 21Managing State in the Input Component11:51 min
    22. 22Adding Input Validation8:02 min
    23. 23Sharing Input Values & Adding Multiple Inputs8:11 min
    24. 24Managing Form-wide State9:11 min
    25. 25Finishing the "Add Place" Form3:19 min
    26. 26Starting Work on the "Update Place" Page8:45 min
    27. 27Adjusting the Input Component2:38 min
    28. 28Creating a Custom Form Hook (useForm)11:02 min
    29. 29Optional: More on (Custom) React Hooks0:00 min
    30. 30Adjusting the Form Hook11:19 min
    31. 31Fixing Minor Issues4:32 min
    32. 32Showing a Deletion Warning5:27 min
    33. 33Adding an "Auth" Page & Login Form9:05 min
    34. 34Adding Signup + "Switch Mode" Button11:18 min
    35. 35Adding Auth Context for App-wide State Management7:04 min
    36. 36Listening to Context Changes2:11 min
    37. 37Adding Authenticated & Unauthenticated Routes5:49 min
    38. 38More Auth Context Usage2:44 min
    39. 39Wrap Up1:08 min
    40. 40Useful Resources & Links0:00 min
  6. 6Node.js & Express.js - A Refresher10 lecciones · 51 min
    1. 01Module Introduction1:40 min
    2. 02What is Node.js?2:55 min
    3. 03Writing our First Node.js Code8:20 min
    4. 04Sending Requests & Responses13:34 min
    5. 05What is Express.js?1:15 min
    6. 06Adding Express.js11:39 min
    7. 07Understanding the Advantages of Express.js8:32 min
    8. 08How Code Execution Works3:16 min
    9. 09Quiz 3: Node & Express Basics0:00 min
    10. 10Useful Resources & Links0:00 min
  7. 7Node.js & Express.js - Building our REST API19 lecciones · 2 h y 11 min
    1. 01Module Introduction2:17 min
    2. 02Setting up our Project2:29 min
    3. 03Implementing Basic Routing11:21 min
    4. 04Adding Place-Specific Routes9:39 min
    5. 05Getting a Place By User ID4:37 min
    6. 06Handling Errors10:51 min
    7. 07Adding our own Error Model4:45 min
    8. 08Adding Controllers6:42 min
    9. 09Adding a POST Route & Using Postman13:22 min
    10. 10Handling Errors for Unsupported Routes2:13 min
    11. 11Adding Patch Routes to Update Places8:03 min
    12. 12Deleting Places4:07 min
    13. 13Finalizing the "Get Places by User ID" Resource2:44 min
    14. 14Setting Up the User Routes (Signup, Login, Get Users)13:23 min
    15. 15Validating API Input (Request Bodies)10:19 min
    16. 16Validating Patch Requests & User Routes6:14 min
    17. 17Using Google's Geocoding API to Convert an Address Into Coordinates16:20 min
    18. 18Wrap Up1:27 min
    19. 19Useful Resources & Links0:00 min
  8. 8Working with MongoDB & Mongoose - A Refresher16 lecciones · 59 min
    1. 01Module Introduction1:15 min
    2. 02What is MongoDB?1:26 min
    3. 03SQL vs NoSQL3:41 min
    4. 04Connecting React to a Database?1:44 min
    5. 05Setting Up MongoDB5:26 min
    6. 06Creating a Simple Backend & Connecting it to the Database5:50 min
    7. 07Creating a Document with MongoDB7:52 min
    8. 08Getting Data from the Database6:11 min
    9. 09Installing Mongoose1:31 min
    10. 10Understanding Models & Schemas3:51 min
    11. 11Creating a Product3:23 min
    12. 12Connecting to the Database & Saving the Product7:28 min
    13. 13Getting Products4:12 min
    14. 14Understanding the ObjectID3:18 min
    15. 15Wrap Up1:42 min
    16. 16Useful Resources & Links0:00 min
  9. 9Connecting the Backend to the Database - MongoDB & Mongoose20 lecciones · 1 h y 52 min
    1. 01Module Introduction1:27 min
    2. 02Installing Mongoose & Connecting our Backend to MongoDB6:32 min
    3. 03Creating the Place Schema & Model6:34 min
    4. 04Creating & Storing Documents in the Database7:26 min
    5. 05Getting Places by the PlaceID8:07 min
    6. 06Getting Places by the UserID5:53 min
    7. 07Updating Places6:10 min
    8. 08Deleting Places3:43 min
    9. 09How Users & Places are Related1:34 min
    10. 10Creating the User Model6:27 min
    11. 11Using the User Model for Signup11:43 min
    12. 12Adding the User Login4:19 min
    13. 13Getting Users5:37 min
    14. 14Adding the Relation between Places & Users5:03 min
    15. 15Creating Places & Adding it to a User13:59 min
    16. 16Deleting Places & Removing it From the User7:47 min
    17. 17Getting Places - An Alternative5:38 min
    18. 18Cleaning Up our Code2:32 min
    19. 19Wrap Up1:43 min
    20. 20Useful Resources & Links0:00 min
  10. 10Connecting the React.js Frontend to the Backend19 lecciones · 1 h y 56 min
    1. 01Module Introduction1:31 min
    2. 02Initial Setup1:01 min
    3. 03Sending a POST Request to the Backend10:30 min
    4. 04Optional: The fetch() API0:00 min
    5. 05Handling CORS Errors6:58 min
    6. 06Getting Started with Error Handling7:59 min
    7. 07Proper Error Handling in the Frontend5:05 min
    8. 08Sending a Login Request3:35 min
    9. 09Getting Users with a GET Request10:22 min
    10. 10Creating a Custom Http Hook10:50 min
    11. 11Improving the Custom Http Hook8:29 min
    12. 12Using the Http Hook to GET Users3:47 min
    13. 13Adding Places (POST)13:06 min
    14. 14Loading Places by User Id7:59 min
    15. 15Updating Places12:23 min
    16. 16Deleting Places7:40 min
    17. 17Fixing NavLinks & "My Places"1:06 min
    18. 18Final Adjustments3:42 min
    19. 19Useful Resources & Links0:00 min
  11. 11Adding File Upload12 lecciones · 1 h y 2 min
    1. 01Module Introduction1:13 min
    2. 02Building an ImageUpload Component10:36 min
    3. 03Finishing & Using the ImageUpload Component (in a Form)12:16 min
    4. 04On the Backend: Using Multer to Save Files8:52 min
    5. 05Filtering Files on the Backend (Images Only!)3:03 min
    6. 06Wiring Frontend and Backend Up5:09 min
    7. 07Connecting Users to Images6:19 min
    8. 08Serving Images Statically3:33 min
    9. 09Uploading Images for New Places6:08 min
    10. 10Deleting Images When Places Get Deleted2:59 min
    11. 11Wrap Up1:32 min
    12. 12Useful Resources & Links0:00 min
  12. 12Adding Authentication19 lecciones · 1 h y 32 min
    1. 01Module Introduction1:08 min
    2. 02How Authentication Works (in a MERN App)5:01 min
    3. 03Hashing the User Password5:31 min
    4. 04Logging Users In (with Hashed Passwords)3:10 min
    5. 05Generating Tokens (JWT) on the Backend9:01 min
    6. 06Backend Route Protection with Auth Middleware12:48 min
    7. 07Using & Attaching JWT (Tokens) in React7:17 min
    8. 08Using Tokens to Update and Delete Places2:26 min
    9. 09Adding Authorization7:35 min
    10. 10Authorization on "Delete Places"3:01 min
    11. 11Storing the Token in the Browser Storage6:09 min
    12. 12Adding Auto-Login (Basic Version)5:13 min
    13. 13Managing the Token Expiration Date4:54 min
    14. 14Finished Auto-Login & Auto-Logout8:03 min
    15. 15Creating a Custom Authentication Hook3:45 min
    16. 16Authentication - Summary1:49 min
    17. 17General App Improvements4:40 min
    18. 18Quiz 4: Authentication & Authorization0:00 min
    19. 19Useful Resources & Links0:00 min
  13. 13Application Deployment14 lecciones · 1 h y 16 min
    1. 01Module Introduction0:55 min
    2. 02Deployment Steps Overview2:29 min
    3. 03Using Environment Variables (Node.js)8:25 min
    4. 04Environment Variables in React Apps7:26 min
    5. 05Preparing API Keys & Credentials5:47 min
    6. 06Building the React App4:31 min
    7. 07Adding Code Splitting to React7:14 min
    8. 08Understanding Possible Deployment Alternatives3:49 min
    9. 09Deploying a Standalone REST API (Example: Heroku)10:46 min
    10. 10Deploying a Standalone React SPA (Example: Firebase Hosting)9:12 min
    11. 11Fixing Style Issues1:35 min
    12. 12Deploying a Combined App10:24 min
    13. 13Storing Files/ Uploads2:20 min
    14. 14Wrap Up0:45 min
  14. 14Roundup & Next Steps1 lección · 3 min
    1. 01Course Roundup3:26 min

¿Listo para empezar?

Compra este curso en Academind Pro u obtén todos los cursos con All Access en Academind Infinite.

Black Friday: un año de All Access por 249 US$ 249 US$ · solo hasta el Aprovecha la oferta
  • Este curso en Academind Pro

    69 US$pago único

    IVA incluido · Garantía de devolución de 30 días

    • Acceso de por vida a este curso
    • Todas las futuras actualizaciones de este curso
    • Recursos descargables, código y un certificado
    Comprar MERN Stack
  • All Access en Academind Infinite

    25 US$al mes

    o 249 US$ 249 US$ al añoAhorra 17 %

    • Todos los cursos, con todas sus funciones
    • Cursos nuevos en cuanto salen
    • Tu tutor, con todas sus funciones
    Obtener All Access

All Access también incluye todos los cursos de Academind Pro.

Academind Pro y Academind Infinite

Dos plataformas distintas, cada una con sus propios cursos y su propio inicio de sesión.

Academind Pro

Nuestra plataforma de cursos original, en pro.academind.com. Tu suscripción a Pro y los cursos que compraste allí siguen en Pro.

Inicia sesión en Academind Pro

Academind Infinite

Nuestra nueva plataforma pensada para la IA. Los miembros de Pro inician sesión con su cuenta de Pro, y Pro All Access incluye Infinite: todos los cursos están abiertos.

Inicia sesión en Academind Infinite

¿Tenías una cuenta de Pro o compraste un curso en Pro?

No todos los cursos de Pro pasaron a Infinite, solo estos. Elige el tuyo para verlo en Infinite.