SERGIO TOMASBack to portfolio

Back-end & APIs · Tool

Express

Minimal and flexible HTTP for Node.js.

01Overview

Express is the minimal web framework behind countless Node.js APIs. I use it for lightweight services and BFFs where simplicity and full control over the request pipeline matter.

02Key concepts

What anyone working with it needs to understand

  1. 01

    Routing

    Routers, params and RESTful resource design.

  2. 02

    Middleware

    The request/response pipeline and composing behavior.

  3. 03

    Error handling

    Centralized error middleware and consistent responses.

  4. 04

    Validation

    Validating and sanitizing input at the edge.

  5. 05

    Security

    Helmet, CORS, rate limiting and authentication.

  6. 06

    Structure

    Organizing controllers, services and layers as the app grows.

03In practice
Part of my Node.js toolkit for REST APIs, studied in depth in my Node.js certification (MVC and REST APIs).