fastify-boilerplate

Modern backend API template using Fastify, Zod and Prisma, providing integrated data validation and self-documentation using Zod-type-provider

boilerplatebackendfastifyprismazodtypescripteslinthusky
FreeRepo

Preview

fastify-boilerplate preview

Overview

A Fastify 5 boilerplate for building production-ready APIs with built-in support for authentication, database management and API documentation. It includes Prisma for database operations, Zod for validation, JWT for security, Swagger for API docs and Pino for logging, making it suitable for developers who need a modern, minimal foundation for REST API projects.

Features

openapi-documentationjwt-authenticationcors-supportschema-validationerror-handlingjsdoc-comments

Feature Flags

authenticationauthorizationloggingErrorTrackingapiDocsformsValidation

Recommended Use Cases

rest-apibackend-apimicroservices

Frontend

None

Backend

fastifyprismazodpino

Auth Providers

jwt

Deployment Targets

None

Payment Providers

None

Quick Facts

โญ Stars
6
๐Ÿด Forks
0
๐Ÿ”„ Active
Yes
๐Ÿ•’ Last Commit
2025-10-16T17:16:40.000Z

Stack

Framework
fastify
Language
typescript
Database
postgresql
ORM
prisma
Logging
pino

Data Layer

Databases
postgresql
ORM
prisma

UI Stack

Developer Experience

Docker
No
Tests
No
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate
Get Started with this Boilerplate