Express
Express is historically the most popular Node.js framework, and while more modern alternatives exist, it is still a foundational framework you will find all the time, so it is worth learning it

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Express is the most popular HTTP server framework built upon Node.js.

Despite being considered not an optimal choice in 2023 (other valid Node.js alternatives exist like Koa or Fastify, and ones based on other runtimes like Elysia or Hono), it’s still worth learning Express because of how much widespread it still is.

NOTE: I remember I had some push back on Twitter by a vocal minority when I mentioned using Express saying “it’s old”, “outdated”, “slow”, “better alternatives exist”, and I considered not including this section, but then I kept running into Express. I was reading the popular O’Reilly book “Web Development with Node and Express” and it uses Express in all the book. The book “Tao of Node”, which I was reading too, mentions “I recommend sticking to Express because its plugin, routing, and middleware patterns are the backbone of every other framework that you may have to use in your work”. Then I saw a YouTuber do a video using Express and stumbled on Remix having 4 official adapters, the only one for Node/Bun being built with Express. And people love and use Express, and if you go work at a company that has a long running product with Node, it might be Express based. Express is everywhere. So, here’s Express. You will find it used everywhere, so you can’t ignore it. But for new projects let me mention I tend to prefer Hono at the moment.

The goal of a framework like Express is to make a lot of common operations simple and abstract the underlying complexity.

Let’s find out how to use it.

prerequisites

  • Knowledge of JavaScript
  • Knowledge of Node.js

Lessons in this unit:

0: ▶︎ Introduction
1: Introduction to Express
2: Request parameters
3: Send a response to the client
4: Send a JSON response
5: Manage cookies
6: Work with HTTP headers
7: Handling redirects
8: Routing
9: Template engines
10: Middleware
11: Serving Static Assets with Express
12: Send files to the client
13: Sessions
14: Validating and sanitizing input
15: Handling form data
16: Handling CORS
17: HTTPS with a self-signed certificate
18: HTTPS with Let's Encrypt
19: Handling file uploads
20: Build a REST API with MongoDB