Official docs outline
11 sections- Routing
Route methods, path patterns, route parameters, route handlers, express.Router, and response methods.
- Using middleware
Application-level, router-level, built-in and third-party middleware and the middleware stack order.
- Writing middleware
Writing middleware functions with req, res and next, configurable middleware, and request lifecycle.
- Error handling
Default error handler, error-handling middleware, async errors, and next(err).
- Template engines
View engines, res.render, and views configuration.
- Behind proxies
trust proxy setting, client IPs, and protocol detection behind reverse proxies.
- Database integration
Connecting Express to databases and common driver patterns.
- Debugging
The debug module and DEBUG environment variable for tracing internals.
- Performance best practices
gzip compression, avoiding sync functions, logging, caching, clustering, and reverse proxies.
- Security best practices
TLS, helmet, cookie security, input validation, rate limiting, and dependency security.
- Health checks and graceful shutdown
Liveness and readiness checks and draining connections on shutdown.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
Versions and support
5 release lines| Line | Released | Latest | Support |
|---|---|---|---|
| 5 | Sep 9, 2024 | 5.3.0 | Supported |
| 4 | Apr 9, 2014 | 4.22.3 | Supported |
| 3 | Oct 23, 2012 | 3.21.2 | Ended Jul 5, 2015 |
| 2 | Mar 17, 2011 | 2.5.11 | Ended Jul 1, 2012 |
| 1 | Nov 16, 2010 | 1.0.9 | Ended Mar 1, 2011 |
Source: endoflife.date