Free course
Express Course
Build an Express 5 application with clear routing, middleware, validation, sessions, errors, tests, security, and production behavior.
Prerequisites: JavaScript, Node.js and HTTP
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Ship a tested notes application with HTML and JSON paths, secure input and sessions, useful errors, observability, and graceful shutdown.
Course contents
Express foundations
Follow requests, construct the app, validate configuration, and serve static assets.
Routes and responses
Match routes, read inputs, negotiate representations, and finish responses once.
Middleware and input
Compose middleware and handle bodies, validation, uploads, cookies, and sessions.
Errors, security, and observation
Handle failures, proxy policy, CORS, logs, and shutdown safely.
Test and ship Express
Test the HTTP contract, separate domain logic, and verify production configuration.