Backend & API
Express
A minimal HTTP server for Node.js: routes, middleware, validation and error handling.
Article
REST API with Express 5 and TypeScript – from an empty folder to production
We build the order API of a pierogi shop with Express 5 and TypeScript – Zod-validated configuration, routing, request validation, centralized error handling, async handlers, pino logs, CORS, Helmet, rate limiting, tests with supertest and a Docker image.
Related articles
- Backend login and registration – passwords, sessions, JWT, refresh token rotation and OAuth
We build authentication for the pierogi shop API in Express 5 (plus a NestJS variant) – argon2id password hashing, short-lived JWTs and rotated refresh tokens in httpOnly cookies with reuse…
- Swagger and OpenAPI in practice – docs from code in NestJS and Express, a typed client and contract hygiene
We document the pierogi shop API with OpenAPI – in NestJS with @nestjs/swagger (CLI plugin, response DTOs, an API key in Swagger UI, URI versioning, export without a database), in Express from Zod…
- NestJS 11 in practice – modules, DI, validation, Mongoose, queues and hexagonal architecture
We move the pierogi shop's order API to NestJS 11 – modules and dependency injection, controllers and DTOs with class-validator, pipes, guards, interceptors and exception filters, Zod-validated…
Around the topic
- Functional Error Handling with Express.js and DDD | Enterprise Node.js + TypeScript | Khalil Stemmler article · web · Khalil Stemmler
- goldbergyoni/nodebestpractices repo · github · goldbergyoni
- Handling HTTP API Errors with Problem Details video · youtube · CodeOpinion
- Scaling your API with rate limiters article · web · stripe.com
- NationalBankBelgium/REST-API-Design-Guide repo · github · NationalBankBelgium
- ExpressGateway/express-gateway repo · github · ExpressGateway
- meysamhadeli/booking-microservices-expressjs repo · github · meysamhadeli