Fastify recipes
3 tested Fastify integration recipes with @fastify/jwt, Zod, fastify-type-provider-zod. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
passed3/3typescript
Fastify 5 + @fastify/jwt protected routes
Sign and verify JWTs in Fastify 5 with @fastify/jwt and an authenticate preHandler that guards routes.
fastify@5.12.7@fastify/jwt@10.2.4tsx@4.23.15
last passed 2026-10-15 14:13 UTC
passed3/3typescript
Fastify 5 + Zod 4 type provider for typed routes
Use fastify-type-provider-zod so Zod 4 schemas validate requests, serialize responses and type handlers in Fastify 5.
fastify@5.12.7zod@4.6.7fastify-type-provider-zod@7.0.0
last passed 2026-10-15 14:13 UTC
passed2/2typescript
Fastify 5 routes with JSON Schema validation
Fastify 5 route validation and response serialization with JSON Schema, tested via app.inject().
fastify@5.12.7tsx@4.23.15
last passed 2026-10-15 14:13 UTC