{"repo":"MarkNjunge/nest-boilerplate","free":true,"listed":false,"github":"https://github.com/MarkNjunge/nest-boilerplate","clone":"git clone https://github.com/MarkNjunge/nest-boilerplate.git","description":"A boilerplate for NestJS with support for database, TypeORm, swagger, config, rate limiting, logging, OpenTelemetry, validation, exception handling, docker, testing and CI.","language":"TypeScript","stars":44,"topics":["nestjs","docker","nestjs-boilerplate","typescript","swagger2","postgresql","restful-api","testing","end-to-end-testing","continuous-integration"],"license":"MIT","category":"databases-storage","readme_excerpt":"Nest Starter A boilerplate for NestJS using Fastify, designed to give you a production-ready foundation with batteries included - covering authentication, database access with a full CRUD layer, request validation, observability, and more. Quick Start Pre-requisites - Node.js (v24+) - PostgreSQL (or use the Docker Compose setup below) - Redis (or use the Docker Compose setup below) For a first start, the easiest way is to use Docker Compose, which starts both PostgreSQL and Redis: Then create a local.json in config/ with your database and Redis URLs (or set the DB URL and REDIS URL environment variables). Install & Run Features - Configuration - Layered config via node-config with support for env vars, .env files, and external secrets managers. - Authentication - Bearer token auth with a guard-based pattern, integrated into the request context. - User Scoping - Automatic per-user data isolation: entities extend UserScopedEntity and all queries are transparently filtered by the authenticated user's ID. Pass userScoped: false in the context to bypass for a single call (public feeds, admin actions). - Database - TypeORM with migrations, a full CRUD service/controller inheritance layer, and a codegen tool to scaffold new resources. - Caching - Redis-backed CacheService with key prefixing, JSON serialization, and generation-based invalidation for CRUD services via CrudCacheService . - Query Parsing - URL query parameters mapped to DB queries, supporting field selection, filtering,","default_branch":null,"files":null,"tree":[],"storefront":"/r/MarkNjunge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MarkNjunge/nest-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}