Full Stack

MEAN Stack Roadmap: Step-by-Step Guide for 2026

This MEAN stack roadmap takes you from TypeScript basics to building full stack apps with MongoDB, Express, Angular and Node.js, including authentication, testing and deployment.

Steps6Time5 to 7 monthsLevelBeginner to job-ready

What is a MEAN Stack Developer?

MEAN stands for MongoDB, Express, Angular and Node.js. A MEAN stack developer builds complete web apps using TypeScript and JavaScript across the front end and back end.

MEAN is popular in enterprises and teams that prefer Angular’s structured approach for large applications.

How to use this MEAN Stack roadmap

Follow this MEAN stack roadmap in order. TypeScript first, then Angular, then the Node and Express API, then MongoDB.

Build one app throughout, such as an employee leave system, and add features at each step.

1Step 1: TypeScript foundations

Learn the language behind Angular.

What is it?

Interfaces describe your data shapes.

What to learn

TypeScript basicsTypes and interfacesClassesPromisesModules

Angular is written in TypeScript, so investing here pays off immediately.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
TypeScript basics

TypeScript adds types to JavaScript so many mistakes are caught before the code runs.

typescript

let price: number = 10; function total(a: number, b: number): number { return a + b; }
Types and interfaces

Describe the shape of objects with type or interface.

typescript

interface User { id: number; name: string; email?: string } const u: User = { id: 1, name: "Sara" };
Classes

Classes are templates for creating objects with shared methods. They support inheritance with extends.

javascript

class User {   constructor(name) { this.name = name; }   greet() { return `Hi ${this.name}`; } } class Admin extends User {}
Promises

A Promise represents a value that will arrive later, such as data from a server. It can be pending, fulfilled (success) or rejected (error). You handle results with .then() and errors with .catch().

javascript

const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));  wait(1000)   .then(() => console.log("1 second passed"))   .catch(err => console.error(err));
Modules

Modules split code into files. You export functions or components from one file and import them in another, which keeps projects organised.

javascript

// Button.jsx export default function Button() { /* ... */ } // App.jsx import Button from "./Button"; import { useState } from "react";

Example

typescript

interface LeaveRequest {
  id: string;
  employee: string;
  days: number;
  status: "pending" | "approved";
}

TypeScript checks every LeaveRequest object matches this shape.

Practice project: Rewrite a small JavaScript app in TypeScript.

Helpful resource: TypeScript handbook

2Step 2: Angular front end

Build the user interface with Angular.

What is it?

A signal holds reactive state in a component.

What to learn

Angular CLIStandalone componentsAngular signalsAngular RouterReactive forms

Use the modern Angular features: standalone components, signals and the new control flow.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Angular CLI

The Angular CLI creates projects and generates code. Common commands include ng new, ng generate component, ng serve and ng build.

bash

npm install -g @angular/cli ng new employee-app ng generate component employee-list ng serve

Why it matters: it keeps projects consistent and saves time.

Standalone components

Standalone components declare their own imports instead of belonging to an NgModule. They are the default in modern Angular and make apps simpler to structure.

Why it matters: new Angular projects use standalone components by default.

Angular signals

Signals are reactive values. You create one with signal(0), read it by calling count() and change it with set() or update(). computed() creates derived signals.

Why it matters: signals make Angular apps simpler and faster to update.

Angular Router

The Angular Router maps URLs to components with a routes array and shows them in <router-outlet>. Links use routerLink and params are read from the activated route.

Why it matters: multi-page navigation is essential for real apps.

Reactive forms

Reactive forms build form models in TypeScript with FormGroup, FormControl and FormArray. They are easy to test and handle dynamic fields well.

Why it matters: enterprise apps rely heavily on complex forms.

Example

typescript

export class LeaveList {
  requests = signal<LeaveRequest[]>([]);
  pending = computed(() => this.requests().filter(r => r.status === "pending"));
}

pending updates automatically when requests change.

Practice project: Build the leave request pages with forms and routing.

Helpful resource: angular.dev

3Step 3: Node.js and Express API

Build the back end.

What is it?

An Express route creates a new request.

What to learn

Node.js runtimeExpressMiddlewareREST APIsEnvironment variables

Use TypeScript on the back end too for one consistent language.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Node.js runtime

Node.js runs JavaScript outside the browser, on servers and your computer. It is used for APIs, tools and scripts.

bash

node app.js
Express

Express is a minimal web framework for Node.js used to build servers and APIs.

javascript

import express from "express"; const app = express(); app.get("/", (req, res) => res.send("Hello")); app.listen(3000);
Middleware

Middleware functions run between the request and your route handler, for logging, authentication or parsing JSON.

javascript

function requireLogin(req, res, next) {   if (!req.user) return res.status(401).json({ error: "Login required" });   next(); }
REST APIs

REST APIs use URLs and HTTP methods (GET, POST, PUT, DELETE) to read and change data, usually in JSON.

javascript

app.get("/api/todos", (req, res) => res.json(todos)); app.post("/api/todos", (req, res) => { todos.push(req.body); res.status(201).end(); });
Environment variables

Environment variables keep secrets like API keys out of your code. Read them from process.env and store them in a .env file that is not committed to Git.

javascript

const apiKey = process.env.API_KEY;

Example

typescript

app.post("/api/leave", auth, async (req, res) => {
  const leave = await Leave.create({ ...req.body, employee: req.user.id });
  res.status(201).json(leave);
});

The API saves the request and returns it with status 201.

Practice project: Create REST endpoints for leave requests.

Helpful resource: Express documentation

4Step 4: MongoDB and Mongoose

Store and query data.

What is it?

Queries filter documents with simple objects.

What to learn

MongoDB and MongooseSchemas and modelsCRUD operationsData modellingMongoDB Atlas

Design documents around how the app reads data.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
MongoDB and Mongoose

Mongoose adds schemas and validation to MongoDB in Node.js.

javascript

const User = mongoose.model("User", new mongoose.Schema({ name: String, email: String })); await User.create({ name: "Sara", email: "s@x.com" });
Schemas and models

A schema describes the shape of your data: which fields a document has, their types and which are required. With Mongoose you define a schema (new Schema({ title: String, price: Number })) and turn it into a model that you use to create, find and update documents.

Why it matters: Schemas stop bad data from reaching your database and give the rest of your code a clear, predictable structure.

CRUD operations

CRUD means Create, Read, Update and Delete, the four basic actions on data. In an Express API they usually map to HTTP methods: POST creates, GET reads, PUT or PATCH updates and DELETE removes, each calling a model method such as create, find, findByIdAndUpdate or findByIdAndDelete.

Why it matters: Almost every app feature, from a todo list to a shop, is built on these four operations.

Data modelling

Data modelling means designing tables and relationships: for example, a user has many orders, and an order has many products. Good models prevent duplicate and inconsistent data.

text

users (id, name, email) orders (id, user_id → users.id, created_at) order_items (order_id, product_id, qty)
MongoDB Atlas

MongoDB Atlas is the official cloud service for hosting MongoDB databases. You create a free cluster, add a database user, allow your IP address and copy a connection string into your app’s environment variables.

Why it matters: It lets you run a real production database without managing servers, and it is the usual choice when you deploy a MERN or MEAN app.

Example

javascript

const pending = await Leave.find({ status: "pending" })
  .populate("employee", "name")
  .sort({ createdAt: -1 });

You get pending requests with employee names, newest first.

Practice project: Store employees and leave requests in MongoDB.

Helpful resource: MongoDB docs

5Step 5: Connecting Angular to the API

Make the front end talk to the back end.

What is it?

A service wraps API calls.

What to learn

HttpClientInterceptorsObservablesJWTRoute guards

Use an interceptor to attach the JWT to every API request.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
HttpClient

HttpClient is Angular’s service for calling APIs. Methods like get and post return observables, and you can type the response, for example http.get<User[]>(url).

Why it matters: almost every Angular app talks to a back end through HttpClient.

Interceptors

Interceptors run on every HTTP request or response. They are used to add auth tokens, show loading spinners or handle errors in one place.

Why it matters: they remove repeated code from services.

Observables

An observable is a stream of values over time, such as HTTP responses, form changes or clicks. You subscribe to receive values. Observables come from the RxJS library.

Why it matters: Angular APIs like HttpClient and forms use observables.

JWT

JSON Web Tokens are signed tokens that prove who a user is. The server signs them at login and verifies them on each request.

javascript

const token = jwt.sign({ userId: 1 }, process.env.JWT_SECRET, { expiresIn: "1h" }); const payload = jwt.verify(token, process.env.JWT_SECRET);
Route guards

Route guards decide if navigation is allowed, for example canActivate checks if a user is logged in. Modern guards are simple functions that return true, false or a redirect.

Why it matters: they protect admin and private pages.

Example

typescript

@Injectable({ providedIn: "root" })
export class LeaveService {
  private http = inject(HttpClient);
  list() { return this.http.get<LeaveRequest[]>("/api/leave"); }
}

Components call leaveService.list() to get data.

Practice project: Connect your Angular pages to the API with login and guards.

Helpful resource: Angular HTTP guide

6Step 6: Testing and deployment

Ship a reliable MEAN app.

What is it?

A production Angular build creates static files.

What to learn

Unit testingSupertestAngular testing utilitiesDockerCloud hosting

Run tests in a CI pipeline before every deployment.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Unit testing

Unit tests check small pieces of code automatically. Tools like Vitest or Jest run tests every time you change code, so you catch bugs early.

javascript

import { test, expect } from "vitest"; import { add } from "./math";  test("adds two numbers", () => {   expect(add(2, 3)).toBe(5); });
Supertest

Supertest sends HTTP requests to your Express app inside tests and checks responses.

javascript

const res = await request(app).get("/api/health"); expect(res.status).toBe(200);
Angular testing utilities

TestBed creates a test environment for components and services, and HttpTestingController fakes API calls. Tests are usually run with Jasmine and Karma, or Jest and Vitest in newer setups.

Why it matters: tests protect large codebases from regressions.

Docker

Docker packages your app and its dependencies into a container that runs the same everywhere. See our Docker roadmap.

dockerfile

FROM node:20-alpine WORKDIR /app COPY . . RUN npm ci CMD ["node", "server.js"]
Cloud hosting

Deploy frontends to Vercel or Netlify and backends and databases to platforms like Render, Railway or AWS.

Example

bash

ng build --configuration production
docker compose up -d

The front end and API run in containers on your server.

Practice project: Add tests and deploy both the Angular app and the API.

Helpful resource: Docker docs

MEAN Stack roadmap project ideas

Projects turn what you learn into real skills. Build at least one project from each level below, and put every finished project on GitHub with a clear README.

Beginner

Angular to-do app

Signals and forms.

Beginner

Express API

CRUD for notes.

Intermediate

Leave management

Employees, requests and approvals.

Intermediate

Inventory app

Products, stock and reports.

Advanced

HR dashboard

Charts, roles and exports.

Advanced

Multi-tenant SaaS

Companies, users and billing.

Tips to finish this mean stack roadmap

  • Learn by building. Spend at least two thirds of your study time writing code and making projects, not watching videos.
  • Be consistent. One focused hour every day beats a long session once a week. Small daily progress adds up quickly.
  • Share your work. Post your projects on GitHub and LinkedIn. It builds your confidence and helps recruiters find you.
  • Ask for feedback. Join a community, ask questions and review other people’s code. Explaining things to others is one of the fastest ways to learn.
  • Do not chase every new tool. The fundamentals in this mean stack roadmap change slowly. Master them first, then explore new libraries.

Career paths and next steps

After this MEAN stack roadmap, you can work as a full stack developer, Angular developer or Node.js developer, especially in enterprise teams.

Continue with the Angular roadmap or the MERN stack roadmap.

Related roadmaps

MEAN Stack Roadmap FAQs

What does MEAN stand for?

MongoDB, Express, Angular and Node.js.

Is MEAN still used?

Yes, especially in enterprises that use Angular for large business apps.

Do I need TypeScript for MEAN?

Yes for Angular, and it is recommended for the back end too.

MEAN or MERN for jobs?

It depends on your market. Check local job listings for Angular and React demand.