Wiki Index — NestJS
Topics
- NestJS Caching — Caching strategies: CacheModule/CacheInterceptor vs. manual ioredis integration. (updated 2026-04-30)
- NestJS Microservices — Redis transporter for pub/sub messaging between microservices. (updated 2026-04-30)
Entities
- NestJS — Progressive Node.js framework with controllers, providers, dependency injection, and multiple Redis integration paths. (8 sources, updated 2026-05-07)
- Redis — In-memory data structure store used for caching and message brokering. (3 sources, updated 2026-04-30)
- ioredis — Robust Redis client for Node.js; the recommended client for NestJS Redis integration. (2 sources, updated 2026-04-30)
- Robert C. Martin — Software engineer who introduced SOLID design principles in 2000. (1 source, updated 2026-05-07)
Concepts
- @Res() Decorator — Library-specific response object injection for manual control over HTTP responses. (1 source, updated 2026-05-06)
- Passthrough Mode — Hybrid response handling combining @Res() with Nest’s standard handling. (1 source, updated 2026-05-06)
- Complex Query Parsing — Handling nested objects and arrays in URL query strings. (1 source, updated 2026-05-06)
- Observable Return Types — RxJS Observable support in route handlers. (1 source, updated 2026-05-06)
- State Sharing Model — Singleton-based request handling in Node.js/NestJS. (1 source, updated 2026-05-06)
- DTO Classes vs Interfaces — Runtime metatype access requirement for Pipes. (2 sources, updated 2026-05-07)
- Pipes — Validation and transformation features requiring runtime types. (2 sources, updated 2026-05-07)
- PipeTransform — Generic interface (T, R) with transform method that all pipes implement. (1 source, created 2026-05-07)
- ArgumentMetadata — Metadata describing the processed argument (type, metatype, data). (1 source, created 2026-05-07)
- ValidationPipe — Built-in pipe that integrates class-validator and class-transformer for DTO validation. (1 source, created 2026-05-07)
- ParseIntPipe — Built-in transformation pipe for string-to-integer conversion. (1 source, created 2026-05-07)
- ZodValidationPipe — Custom pipe pattern using Zod schemas for validation. (1 source, created 2026-05-07)
- class-validator — TypeScript decorator-based validation library used by NestJS’s ValidationPipe. (1 source, created 2026-05-07)
- class-transformer — Library that restores type info via plainToInstance() for validation. (1 source, created 2026-05-07)
- Pipe Scoping — Four-level binding: parameter, method, controller, and global. (1 source, created 2026-05-07)
- DefaultValuePipe — Built-in pipe supplying fallback values for optional parameters. (1 source, created 2026-05-07)
- HttpException — Base exception class for standard HTTP error responses in NestJS. (1 source, created 2026-05-07)
- ExceptionFilter — Interface for custom exception handling with catch() method. (1 source, created 2026-05-07)
- ArgumentsHost — Abstraction for host execution context across HTTP/Microservices/WebSockets. (1 source, created 2026-05-07)
- BaseExceptionFilter — Built-in global exception filter that can be extended for customization. (1 source, created 2026-05-07)
- Catch-everything Filter — Exception filter with empty @Catch() that handles all unhandled exceptions. (1 source, created 2026-05-07)
- NestMiddleware — Interface for class-based middleware with use(req, res, next). (1 source, created 2026-05-07)
- MiddlewareConsumer — Fluent API for configuring middleware apply/exclude/forRoutes. (1 source, created 2026-05-07)
- NestModule — Interface modules implement to configure middleware via configure(). (1 source, created 2026-05-07)
- Functional Middleware — Plain function middleware for simple cases without dependencies. (1 source, created 2026-05-07)
- DynamicModule — Module pattern for runtime configuration via forRoot()/register() methods. (1 source, created 2026-05-07)
- Global Module — @Global() decorator making exported providers available application-wide. (1 source, created 2026-05-07)
- Module Re-exporting — Re-exporting imported modules for transitive provider access. (1 source, created 2026-05-07)
- Module Encapsulation — Single shared instance guarantee through module-based provider sharing. (1 source, created 2026-05-07)
- Module Provider Injection — Injecting providers into module class constructors. (1 source, created 2026-05-07)
- SOLID Principles — Five OOP design principles foundational to NestJS architecture. (1 source, created 2026-05-07)
- Single Responsibility Principle — One class, one reason to change. (1 source, created 2026-05-07)
- Open-closed Principle — Open for extension, closed for modification. (1 source, created 2026-05-07)
- Liskov Substitution Principle — Subtypes must be substitutable for base types. (1 source, created 2026-05-07)
- Interface Segregation Principle — Clients shouldn’t depend on unused interfaces. (1 source, created 2026-05-07)
- Dependency Inversion Principle — Depend on abstractions, not concretions. (1 source, created 2026-05-07)
- Provider Scopes — Application lifecycle vs request-scoped providers. (1 source, updated 2026-05-06)
- Constructor-based Injection — Standard dependency injection pattern via constructor. (1 source, updated 2026-05-06)
- Property-based Injection — Alternative injection using @Inject() decorator. (1 source, updated 2026-05-06)
- Manual Provider Instantiation — Module reference and standalone patterns. (1 source, updated 2026-05-06)
- Module Reference — Dynamic provider retrieval mechanism. (1 source, updated 2026-05-06)
- Provider Definition Methods — Values, classes, and factories for defining providers. (1 source, updated 2026-05-06)
- Redis Transporter — NestJS microservice transport using Redis pub/sub. (1 source, updated 2026-04-30)
- Cache-aside Pattern — Check cache first, query DB on miss, populate cache. (1 source, updated 2026-04-30)
- CacheInterceptor — NestJS interceptor for automatic HTTP response caching. (1 source, updated 2026-04-30)
- CacheModule — NestJS store-agnostic caching module with CACHE_MANAGER injection. (1 source, updated 2026-04-30)
- Redis Prefix Key Naming — Colon-delimited key prefixes for namespace organization. (1 source, updated 2026-04-30)
- Redis Repository Pattern — Three-layer Redis architecture: client → repository → service. (1 source, updated 2026-04-30)
- FactoryProvider Pattern — NestJS provider pattern using factory functions, used for ioredis instantiation. (1 source, updated 2026-04-30)
- cache-manager — Node.js caching library with multi-backend support; used by NestJS CacheModule. (1 source, updated 2026-04-30)
Sources
- NestJS Controllers — Official docs covering response handling, query parsing, return types, state sharing, and DTOs. (ingested 2026-05-06)
- NestJS Providers — Official docs covering injection patterns, scoping, and manual instantiation. (ingested 2026-05-06)
- NestJS Pipes — Official docs on pipes: PipeTransform, built-in Parse* pipes, Zod/class-validator validation, scoping. (ingested 2026-05-07)
- NestJS Exception Filters — Official docs on exceptions: HttpException, custom filters, ArgumentsHost, catch-everything. (ingested 2026-05-07)
- NestJS Middleware — Official docs on middleware: NestMiddleware, MiddlewareConsumer, functional middleware, route matching. (ingested 2026-05-07)
- NestJS Modules — Official docs on modules: dynamic modules, global modules, re-exporting, encapsulation. (ingested 2026-05-07)
- SOLID Principles — Wikipedia article on five OOP design principles by Robert C. Martin. (ingested 2026-05-07)
- NestJS Redis Microservices — Official docs for the Redis microservice transporter (pub/sub). (ingested 2026-04-30)
- Using Redis Client in NestJS — Layered ioredis architecture with FactoryProvider, Repository, and Service. (ingested 2026-04-30)
- How to add Redis cache to a NestJS app — CacheModule approach with manual operations and CacheInterceptor. (ingested 2026-04-30)
- How to Use Redis with NestJS A Simple Guide to Caching — Manual ioredis caching with real-world 90% query reduction case study. (ingested 2026-05-07)
- Using Redis in NestJS (ByteGoblin) — Basic Redis setup with ioredis; references nonexistent @nestjs/redis. (ingested 2026-05-07)
Syntheses
(No synthesis pages yet)
Queries
(No query pages yet)