nest-http-boilerplate
A template for NestJS 10.x Typegoose Vitest and more, fast and simple boilerplate.
templateboilerplatemongooseloggerarchitecturepnpmnestjstypegoosevitesttypescripteslintprettier
FreeRepo
Overview
This is a production-ready NestJS boilerplate built on Fastify and TypeScript that provides a complete backend template with MongoDB, Redis caching, real-time Socket.IO support and Docker deployment. It includes pre-configured testing with Vitest, code quality tools like ESLint and Prettier and organized folder structure for scalable API development with middleware, guards, interceptors and custom exception handling.
Features
fastify-basedtypegoose-schemavitest-testingredis-cachingsocket-io-gatewaycustom-loggerexception-handlingguards-and-authinterceptorspipesdecorators
Feature Flags
authenticationrealtimeauthorizationloggingErrorTrackingcaching
Recommended Use Cases
rest-apibackend-servicemicroservicereal-time-application
Frontend
None
Backend
nestjsfastifytypegoosemongodbredissocket-io
Auth Providers
None
Deployment Targets
verceldocker
Payment Providers
None
Quick Facts
Stack
Framework
nestjs
Language
typescript
Database
mongodb
ORM
typegoose
Testing
vitest
CI
docker
Data Layer
Databases
mongodb, redis
ORM
typegoose
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
No
CI
docker
Pricing
Classification
free
Selected
โ
Notes
Open source template