Zum Hauptinhalt springen
Academind
Alle Kurse

Academind-Pro-Kurs

Angular & NodeJS - The MEAN Stack Guide

Learn how to connect your Angular frontend to a NodeJS & Express & MongoDB backend by building a real application

  • 13 Abschnitte · 144 Lektionen
  • 12 Std., 41 Min. insgesamt
Angular & NodeJS - The MEAN Stack Guide

Über diesen Kurs

You’ve learned some Angular and you’ve played with NodeJS/Express — but the moment you try to make them work together, things get messy fast. Requests fail, data doesn’t look the way your UI expects, and you’re left guessing where the problem actually lives.

This course is built to close that gap by walking you through a single, complete application where frontend and backend evolve together. You’ll see each piece introduced exactly when it’s needed, with a practical flow that keeps you out of “toy example” territory and focused on real integration decisions.

By the end, you’ll be able to build your own Angular + NodeJS applications that feel responsive, handle failures cleanly, and rely on a backend you control. You’ll know how to structure the connection between client and server so you can confidently extend features instead of rewriting everything when requirements change.

Was du lernst

You’ll connect an Angular app to a NodeJS/Express backend with MongoDB (via Mongoose), and add the real-world features that make the stack production-ready.

  1. 01

    MEAN app setup

    Set up a working Angular + NodeJS + Express + MongoDB application using the Angular CLI, so you can start new full-stack projects with a repeatable, reliable foundation.

  2. 02

    Angular-backend communication

    Use Angular’s HttpClient to send requests, handle responses, and wire your UI to backend data in a way that works with NodeJS or even a backend written in another language.

  3. 03

    Express API endpoints

    Create appropriate backend endpoints in ExpressJS for your frontend to consume, so your Angular app can read and write data through a clean, predictable API.

  4. 04

    MongoDB with Mongoose

    Persist and query application data with MongoDB using Mongoose, so your backend can validate, store, and return structured data your Angular frontend can rely on.

  5. 05

    Responsive UI patterns

    Implement Optimistic Updating to keep the interface feeling fast and reactive, even while asynchronous requests are in flight and the backend is doing real work.

  6. 06

    Security and resilience

    Add users, authentication, and authorization, and improve reliability with robust error handling so your app stays secure and behaves gracefully when something goes wrong.

Voraussetzungen

  • Beginner-level Angular knowledge is recommended (core concepts are refreshed, but the focus is connecting Angular to a backend).

  • Basic NodeJS/Express knowledge is strongly recommended; MongoDB + Mongoose familiarity is a plus.

  • You should be comfortable with HTML, CSS, and basic JavaScript.

Für wen dieser Kurs ist

  • Angular learners

    You can build components and pages, but you haven’t confidently connected an Angular app to a real backend yet. This course gives you the missing “how it all fits together” experience.

  • NodeJS beginners

    You’ve built simple Express routes, but you want a real frontend to drive your API design and decisions. You’ll finally see what your backend needs to provide to support a modern UI.

  • Full-stack builders

    You want to create a modern web application with the MEAN stack and you’re tired of stopping at “Hello World.” This is for you if you learn best by building one substantial app.

Lehrplan

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

  1. 1Getting Started12 Lektionen · 39 Min.
    1. 01Introduction1:54 Min.
    2. 02What is MEAN?10:35 Min.
    3. 03What is a Single Page Application (SPA)?2:08 Min.
    4. 04How Does the MEAN Stack Work?2:58 Min.
    5. 05Installing Node & the Angular CLI7:50 Min.
    6. 06Join our Online Learning Community0:00 Min.
    7. 07Installing our IDE3:13 Min.
    8. 08Exploring the Project Structure4:02 Min.
    9. 09Course Outline3:27 Min.
    10. 10How To Get The Most Out Of This Course2:47 Min.
    11. 11Section Resources0:00 Min.
    12. 12The Academind Pro Referral Program0:00 Min.
  2. 2The Angular Frontend - Understanding the Basics19 Lektionen · 1 Std., 57 Min.
    1. 01Module Introduction1:40 Min.
    2. 02Understanding the Folder Structure6:40 Min.
    3. 03Understanding Angular Components2:39 Min.
    4. 04Adding our First Component8:01 Min.
    5. 05Listening to Events3:43 Min.
    6. 06Outputting Content5:34 Min.
    7. 07Getting User Input6:03 Min.
    8. 08Installing Angular Material15:34 Min.
    9. 09Adding a Toolbar3:57 Min.
    10. 10Outputting Posts6:37 Min.
    11. 11Diving Into Structural Directives5:40 Min.
    12. 12Creating Posts with Property & Event Binding7:38 Min.
    13. 13Creating a Post Model4:35 Min.
    14. 14Adding Forms8:18 Min.
    15. 15Getting Posts from Post-Create to Post-List9:26 Min.
    16. 16Calling GET Post11:14 Min.
    17. 17More About Observables5:51 Min.
    18. 18Working on our Form3:51 Min.
    19. 19Section Resources0:00 Min.
  3. 3Adding NodeJS to our Project12 Lektionen · 1 Std., 3 Min.
    1. 01Module Introduction2:03 Min.
    2. 02Connecting Node & Angular - Theory4:37 Min.
    3. 03What is a RESTful API?4:45 Min.
    4. 04Adding the Node Backend8:20 Min.
    5. 05Adding the Express Framework7:37 Min.
    6. 06Improving the server.js Code4:40 Min.
    7. 07Fetching Initial Posts5:57 Min.
    8. 08Using the Angular HTTP Client9:20 Min.
    9. 09Understanding CORS5:31 Min.
    10. 10Adding the POST Backend Point5:27 Min.
    11. 11Adding Angular5:07 Min.
    12. 12Section Resources0:00 Min.
  4. 4Working with MongoDB16 Lektionen · 1 Std., 5 Min.
    1. 01Module Introduction1:04 Min.
    2. 02What is MongoDB?1:48 Min.
    3. 03Comparing SQL & NoSQL4:26 Min.
    4. 04Connecting Angular to a Database2:07 Min.
    5. 05Setting Up MongoDB5:14 Min.
    6. 06Adding Mongoose3:01 Min.
    7. 07Understanding Mongoose Schemas & Models5:45 Min.
    8. 08Creating a POST Instance4:08 Min.
    9. 09Connecting our Node Express App to MongoDB3:10 Min.
    10. 10Storing Data in a Database5:51 Min.
    11. 11Fetching Data From a Database5:34 Min.
    12. 12Transforming Response Data5:07 Min.
    13. 13Deleting Documents7:37 Min.
    14. 14Updating the Frontend after Deleting Posts3:02 Min.
    15. 15Adding Posts with an ID7:07 Min.
    16. 16Section Resources0:00 Min.
  5. 5Enhancing the App10 Lektionen · 1 Std., 4 Min.
    1. 01Module Introduction1:11 Min.
    2. 02Adding Routing10:12 Min.
    3. 03Styling Links3:59 Min.
    4. 04Client Side vs Server Side Routing2:44 Min.
    5. 05Creating the "Edit" Form10:38 Min.
    6. 06Finishing the Edit Feature11:09 Min.
    7. 07Updating Posts on the Server9:21 Min.
    8. 08Re-Organizing Backend Routes5:54 Min.
    9. 09Adding Loading Spinners9:05 Min.
    10. 10Section Resources0:00 Min.
  6. 6Adding Image Uploads to our App14 Lektionen · 1 Std., 28 Min.
    1. 01Module Introduction0:44 Min.
    2. 02Adding the File Input Button4:51 Min.
    3. 03Converting the Form from a Template Driven to a Reactive Approach13:41 Min.
    4. 04Adding Image Controls to Store the Image6:59 Min.
    5. 05Adding an Image Preview4:58 Min.
    6. 06Starting with the Mime-Type Validator8:20 Min.
    7. 07Finishing the Image Validator7:17 Min.
    8. 08Adding Server Side Upload8:23 Min.
    9. 09Uploading Files6:05 Min.
    10. 10Working with the File URL6:18 Min.
    11. 11Fetching Images on the Frontend6:37 Min.
    12. 12Updating Posts with Images13:20 Min.
    13. 13Wrap Up0:54 Min.
    14. 14Section Resources0:00 Min.
  7. 7Adding Pagination7 Lektionen · 33 Min.
    1. 01Module Introduction1:04 Min.
    2. 02Adding the Pagination Component7:18 Min.
    3. 03Working on the Pagination Backend8:08 Min.
    4. 04Connecting the Angular Paginator to the Backend5:24 Min.
    5. 05Fetching Posts Correctly6:09 Min.
    6. 06Finishing Touches4:48 Min.
    7. 07Section Resources0:00 Min.
  8. 8Adding User Authentication20 Lektionen · 2 Std., 9 Min.
    1. 01Module Introduction0:59 Min.
    2. 02Adding the Login Input Fields8:15 Min.
    3. 03Handling User Input3:42 Min.
    4. 04Adding the Signup Screen3:32 Min.
    5. 05Creating the User Model6:23 Min.
    6. 06Creating a New User Upon Request5:30 Min.
    7. 07Connecting Angular to the Backend6:38 Min.
    8. 08Understanding SPA Authentication3:39 Min.
    9. 09Implementing SPA Authentication9:32 Min.
    10. 10Sending the Token to the Frontend5:43 Min.
    11. 11Adding Middleware to Protect Routes11:47 Min.
    12. 12Adding the Token to Authenticate Requests13:45 Min.
    13. 13Improving the UI Header to Reflect the Authentication Status7:23 Min.
    14. 14Improving the UI Messages to Reflect the Authentication Status6:19 Min.
    15. 15Connecting the Logout Button to the Authentication Status2:32 Min.
    16. 16Redirecting Users4:25 Min.
    17. 17Adding Route Guards6:48 Min.
    18. 18Reflecting the Token Expiration in the UI6:12 Min.
    19. 19Saving the Token in the Local Storage15:54 Min.
    20. 20Section Resources0:00 Min.
  9. 9Authorization7 Lektionen · 33 Min.
    1. 01Module Introduction1:09 Min.
    2. 02Adding a Reference to the Model3:28 Min.
    3. 03Adding the User ID to Posts7:02 Min.
    4. 04Protecting Resources with Authorization8:19 Min.
    5. 05Passing the User ID to the Frontend7:24 Min.
    6. 06Using the User ID on the Frontend5:11 Min.
    7. 07Section Resources0:00 Min.
  10. 10Handling Errors8 Lektionen · 40 Min.
    1. 01Module Introduction1:14 Min.
    2. 02Testing Different Places to Handle Errors9:49 Min.
    3. 03The Error Interceptor8:01 Min.
    4. 04Displaying the Basic Error Dialog5:13 Min.
    5. 05Adding an Error Dialog5:26 Min.
    6. 06Returning Error Messages on the Server7:10 Min.
    7. 07Finishing Touches3:03 Min.
    8. 08Section Resources0:00 Min.
  11. 11Optimizations12 Lektionen · 50 Min.
    1. 01Module Introduction0:34 Min.
    2. 02Using Controllers8:16 Min.
    3. 03Separating the Middleware3:30 Min.
    4. 04Creating an Angular Material Module4:20 Min.
    5. 05Splitting the App Into Feature Modules5:14 Min.
    6. 06Fixing an Update Bug2:31 Min.
    7. 07Creating the Auth Module4:08 Min.
    8. 08Adding Lazy Loading9:35 Min.
    9. 09Fixing the Auth Guard0:00 Min.
    10. 10Using a Global Angular Config6:18 Min.
    11. 11Using Node Environment Variables5:26 Min.
    12. 12Section Resources0:00 Min.
  12. 12Deploying our App6 Lektionen · 38 Min.
    1. 01Module Introduction0:40 Min.
    2. 02Deployment Options3:59 Min.
    3. 03Deploying the REST Api13:34 Min.
    4. 04Angular Deployment - Finishing the Two App Setup9:51 Min.
    5. 05Using the Integrated Approach9:37 Min.
    6. 06Section Resources0:00 Min.
  13. 13Course Roundup1 Lektion · 2 Min.
    1. 01Roundup2:05 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
    Angular & NodeJS 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.