Menu

#FastIfy

55 posts

Feed·
20 of 55 posts
Production deployment — Fastify with TypeScript (part 18/18)
📰
0Read More

Production deployment — Fastify with TypeScript (part 18/18)

DEV Community: fastify·Antonio Tripodi·6 days ago
#58yQ5MF4
#devtofastify#devto#dev#node#health

Shipping a Fastify API to production: graceful shutdown, liveness and readiness checks, and a multi-stage Dockerfile that actually builds the TypeScript.

15s
Empty Route Parameters Broke the Middleware Assumption in @fastify/express
📰
0Read More

Empty Route Parameters Broke the Middleware Assumption in @fastify/express

DEV Community: fastify·StarkMan·7 days ago
#HY4adVfW
#devtofastify#devto#dev#route#express

CVE-2026-135279 explains how empty route parameters bypassed Express middleware inside Fastify applications.

15s
NestJS platform-node (12.3): The Adapter That Reorders Your Routes
📰
0Read More

NestJS platform-node (12.3): The Adapter That Reorders Your Routes

DEV Community: nestjs·Parsa J·9 days ago
#d5TCjZRG
#devtonestjs#devto#dev#express#platform

NestJS 12.3 shipped platform-node, a built-in HTTP adapter that matches routes like Fastify, not Express. Learn the trap, plus a cheat sheet.

15s
Authentication and authorization — Fastify with TypeScript (part 12/18)
📰
0Read More

Authentication and authorization — Fastify with TypeScript (part 12/18)

DEV Community: fastify·Antonio Tripodi·10 days ago
#kipOcEY4
#devtofastify#devto#dev#fastify#user

JWT authentication with @fastify/jwt, role-based access control (RBAC), and secure password hashing with Argon2 — fully typed.

15s
Your first server (app.ts, server.ts, config.ts) — Fastify with TypeScript (part 4/18)
📰
0Read More

Your first server (app.ts, server.ts, config.ts) — Fastify with TypeScript (part 4/18)

DEV Community: fastify·Antonio Tripodi·12 days ago
#E2HVKdCX
#devtofastify#devto#dev#config#type

Why separating app.ts from server.ts is the recommended Fastify convention, and how to load typed configuration from environment variables.

15s
TypeScript generics in routes — Fastify with TypeScript (part 6/18)
📰
0Read More

TypeScript generics in routes — Fastify with TypeScript (part 6/18)

DEV Community: fastify·Antonio Tripodi·12 days ago
#UV8cyGCe
#devtofastify#devto#dev#user#string

How to use Fastify's route generics to type Body, Params, Querystring, and Reply in your routes, without manual casts.

15s
Validation with schemas (TypeBox) — Fastify with TypeScript (part 7/18)
📰
0Read More

Validation with schemas (TypeBox) — Fastify with TypeScript (part 7/18)

DEV Community: fastify·Antonio Tripodi·12 days ago
#sOte69rl
#devtofastify#devto#dev#type#schema

Validate requests and serialize responses with TypeBox and the Fastify type provider, deriving both JSON Schema and TypeScript types from a single source of truth.

15s
Introduction to Fastify — Fastify with TypeScript (part 1/18)
📰
0Read More

Introduction to Fastify — Fastify with TypeScript (part 1/18)

DEV Community: fastify·Antonio Tripodi·14 days ago
#dOhFLWcf
#devtofastify#devto#dev#fastify#node

Why choose Fastify for your Node.js APIs: speed, built-in validation, and a plugin system designed to scale. Plus a 10-line server to get started.

15s
Fastify core concepts — Fastify with TypeScript (part 2/18)
📰
0Read More

Fastify core concepts — Fastify with TypeScript (part 2/18)

DEV Community: fastify·Antonio Tripodi·14 days ago
#zypNkteb
#devtofastify#devto#dev#fastify#plugin

A bird's-eye view of Fastify's five core building blocks: the instance, plugins & encapsulation, hooks, decorators, and schema-based validation.

15s