Zum Hauptinhalt springen
Academind
Alle Kurse

Academind-Pro-Kurs

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 Abschnitte · 209 Lektionen
  • 18 Std., 44 Min. insgesamt
React, NodeJS, Express & MongoDB - The MERN Fullstack Guide

Über diesen Kurs

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.

Was du lernst

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.

Voraussetzungen

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

Für wen dieser Kurs ist

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

Lehrplan

Sieh dir Aufbau und Tempo dieses Kurses an, bevor du startest.

  1. 1First Section8 Lektionen · 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 Lektionen · 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 Lektionen · 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 Lektionen · 1 Std., 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 Lektionen · 4 Std., 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 Lektionen · 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 Lektionen · 2 Std., 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 Lektionen · 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 Lektionen · 1 Std., 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 Lektionen · 1 Std., 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 Lektionen · 1 Std., 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 Lektionen · 1 Std., 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 Lektionen · 1 Std., 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 Lektion · 3 Min.
    1. 01Course Roundup3:26 Min.

Bereit loszulegen?

Kaufe diesen Kurs auf Academind Pro oder hol dir mit All Access auf Academind Infinite alle Kurse.

Black Friday: ein Jahr All Access für 249 $ 249 $ · nur bis Angebot sichern
  • Dieser Kurs auf Academind Pro

    69 $einmalig

    Inkl. MwSt. · 30 Tage Geld-zurück-Garantie

    • Lebenslanger Zugriff auf diesen Kurs
    • Alle künftigen Updates dieses Kurses
    • Downloads, Code und ein Zertifikat
    MERN Stack kaufen
  • All Access auf Academind Infinite

    25 $im Monat

    oder 249 $ 249 $ im JahrSpare 17 %

    • Jeder Kurs, mit allen Funktionen
    • Neue Kurse, sobald sie kommen
    • Dein Tutor, mit allen Funktionen
    All Access holen

All Access enthält außerdem jeden Academind Pro-Kurs.

Academind Pro und Academind Infinite

Zwei getrennte Plattformen, jede mit eigenen Kursen und eigener Anmeldung.

Academind Pro

Unsere ursprüngliche Kursplattform auf pro.academind.com. Dein Pro-Abo und die Kurse, die du dort gekauft hast, bleiben auf Pro.

Bei Academind Pro anmelden

Academind Infinite

Unsere neue KI-first-Plattform. Pro-Mitglieder melden sich mit ihrem Pro-Konto an, und Pro All Access enthält Infinite: Jeder Kurs ist offen.

Bei Academind Infinite anmelden

Hattest du ein Pro-Konto oder einen Kurs auf Pro gekauft?

Nicht jeder Pro-Kurs ist zu Infinite umgezogen, nur diese. Wähle deinen, um ihn auf Infinite zu sehen.