Section 01
Fastify Foundations
Install Fastify, create routes, learn the reply API, configure logging.
Fastify 5 · intermediate
Build production Node APIs with Fastify. Schema-based routing, JSON Schema validation, encapsulated plugins, hooks, decorators, swagger, websockets, and a serialization story that's among the fastest in the JS ecosystem.
Section 01
Install Fastify, create routes, learn the reply API, configure logging.
Section 02
JSON Schema for body/params/query/response, TypeBox, Ajv, OpenAPI.
Section 03
Encapsulated plugins, decorators, hooks, prefixes, route modules.
Section 04
Databases, Postgres, Prisma, Drizzle, Mongo, cookies, JWT, sessions, CSRF.
Section 05
Helmet, CORS, rate limit, multipart, static, compress, proxy, caching.
Section 06
Streaming, SSE, WebSockets, GraphQL with Mercurius, queues, telemetry.
Section 07
app.inject testing, supertest, Vitest, monitoring, Docker, deployment.