Aller au contenu principal
Academind
Tous les cours

Cours Academind Pro

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 sections · 144 leçons
  • 12 h et 41 min au total
Angular & NodeJS - The MEAN Stack Guide

À propos de ce cours

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.

Ce que vous allez apprendre

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.

Prérequis

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

À qui s’adresse ce cours

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

Programme

Découvrez la structure et le rythme de ce cours avant de commencer.

  1. 1Getting Started12 leçons · 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 leçons · 1 h et 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 leçons · 1 h et 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 leçons · 1 h et 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 leçons · 1 h et 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 leçons · 1 h et 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 leçons · 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 leçons · 2 h et 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 leçons · 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 leçons · 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 leçons · 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 leçons · 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 leçon · 2 min
    1. 01Roundup2:05 min

Prêt à commencer ?

Achetez ce cours sur Academind Pro, ou obtenez tous les cours avec All Access sur Academind Infinite.

Black Friday : un an d’All Access pour 249 $US 249 $US · seulement jusqu’au Profitez de l’offre
  • Ce cours sur Academind Pro

    69 $USpaiement unique

    TVA incluse · Satisfait ou remboursé pendant 30 jours

    • Accès à vie à ce cours
    • Toutes les futures mises à jour de ce cours
    • Ressources téléchargeables, code et un certificat
    Acheter Angular & NodeJS
  • All Access sur Academind Infinite

    25 $USpar mois

    ou 249 $US 249 $US par anÉconomisez 17 %

    • Tous les cours, avec toutes leurs fonctionnalités
    • Les nouveaux cours dès leur sortie
    • Votre tuteur, avec toutes ses fonctionnalités
    Obtenir All Access

All Access inclut aussi tous les cours Academind Pro.

Academind Pro et Academind Infinite

Deux plateformes distinctes, chacune avec ses propres cours et sa propre connexion.

Academind Pro

Notre plateforme de cours d’origine, sur pro.academind.com. Votre abonnement Pro et les cours que vous y avez achetés restent sur Pro.

Se connecter à Academind Pro

Academind Infinite

Notre nouvelle plateforme pensée pour l’IA. Les membres Pro se connectent avec leur compte Pro, et l’offre Pro All Access inclut Infinite : tous les cours leur sont ouverts.

Se connecter à Academind Infinite

Vous aviez un compte Pro ou avez acheté un cours sur Pro ?

Tous les cours Pro ne sont pas passés sur Infinite, seulement ceux-ci. Choisissez le vôtre pour le voir sur Infinite.