NestJS
308 highly-curated topics available for revision.
1. Fundamentals
NestJS Architecture
HighNestJS Architecture in NestJS
Modules
MediumModules in NestJS
Controllers
Controllers in NestJS
Providers
HighProviders in NestJS
Services
HighServices in NestJS
Dependency Injection
MediumDependency Injection in NestJS
Decorators
MediumDecorators in NestJS
Pipes
HighPipes in NestJS
Guards
HighGuards in NestJS
Interceptors
HighInterceptors in NestJS
Middleware
Middleware in NestJS
Exception Filters
HighException Filters in NestJS
Request Lifecycle
MediumRequest Lifecycle in NestJS
2. Modules & Dependency Injection
Module Metadata
MediumModule Metadata in NestJS
Feature Modules
MediumFeature Modules in NestJS
Shared Modules
Shared Modules in NestJS
Global Modules
MediumGlobal Modules in NestJS
Dynamic Modules
MediumDynamic Modules in NestJS
Module Imports & Exports
HighModule Imports & Exports in NestJS
Dependency Injection
HighDependency Injection in NestJS
Provider Tokens
HighProvider Tokens in NestJS
Custom Providers
Custom Providers in NestJS
Factory Providers
HighFactory Providers in NestJS
Value Providers
Value Providers in NestJS
Class Providers
Class Providers in NestJS
Optional Dependencies
Optional Dependencies in NestJS
Circular Dependencies
Circular Dependencies in NestJS
ModuleRef
MediumModuleRef in NestJS
3. Controllers & Routing
Controllers
MediumControllers in NestJS
Route Decorators
MediumRoute Decorators in NestJS
Route Parameters
Route Parameters in NestJS
Query Parameters
Query Parameters in NestJS
Request Body
MediumRequest Body in NestJS
HTTP Methods
HTTP Methods in NestJS
Request & Response Objects
HighRequest & Response Objects in NestJS
Route Wildcards
MediumRoute Wildcards in NestJS
Dynamic Routes
MediumDynamic Routes in NestJS
Controller Scopes
MediumController Scopes in NestJS
Custom Decorators
MediumCustom Decorators in NestJS
4. Providers & Services
Providers
MediumProviders in NestJS
Services
Services in NestJS
Provider Scopes
HighProvider Scopes in NestJS
Singleton Scope
Singleton Scope in NestJS
Request Scope
HighRequest Scope in NestJS
Transient Scope
HighTransient Scope in NestJS
Custom Providers
MediumCustom Providers in NestJS
Async Providers
MediumAsync Providers in NestJS
Factory Providers
HighFactory Providers in NestJS
Value Providers
Value Providers in NestJS
Existing Providers
MediumExisting Providers in NestJS
5. Middleware
Middleware
HighMiddleware in NestJS
Functional Middleware
HighFunctional Middleware in NestJS
Class-based Middleware
HighClass-based Middleware in NestJS
Middleware Consumer
Middleware Consumer in NestJS
Global Middleware
MediumGlobal Middleware in NestJS
Middleware Execution Order
Middleware Execution Order in NestJS
Middleware vs Guards
Middleware vs Guards in NestJS
6. Pipes
Pipes
HighPipes in NestJS
Built-in Pipes
MediumBuilt-in Pipes in NestJS
ValidationPipe
MediumValidationPipe in NestJS
ParseIntPipe
MediumParseIntPipe in NestJS
ParseBoolPipe
ParseBoolPipe in NestJS
ParseUUIDPipe
HighParseUUIDPipe in NestJS
DefaultValuePipe
MediumDefaultValuePipe in NestJS
Custom Pipes
HighCustom Pipes in NestJS
Transformation
HighTransformation in NestJS
Validation
HighValidation in NestJS
DTO Validation
HighDTO Validation in NestJS
class-validator
Highclass-validator in NestJS
class-transformer
Mediumclass-transformer in NestJS
7. Guards
Guards
MediumGuards in NestJS
CanActivate
CanActivate in NestJS
Authentication Guards
HighAuthentication Guards in NestJS
Authorization Guards
HighAuthorization Guards in NestJS
Role-based Authorization
HighRole-based Authorization in NestJS
Custom Guards
MediumCustom Guards in NestJS
Guard Execution Order
HighGuard Execution Order in NestJS
Guards vs Middleware
HighGuards vs Middleware in NestJS
8. Interceptors
Interceptors
Interceptors in NestJS
ExecutionContext
HighExecutionContext in NestJS
CallHandler
CallHandler in NestJS
Request/Response Transformation
Request/Response Transformation in NestJS
Logging Interceptors
MediumLogging Interceptors in NestJS
Timeout Interceptors
HighTimeout Interceptors in NestJS
Caching Interceptors
HighCaching Interceptors in NestJS
Exception Mapping
MediumException Mapping in NestJS
Interceptors vs Middleware
Interceptors vs Middleware in NestJS
Interceptors vs Pipes
MediumInterceptors vs Pipes in NestJS
9. Exception Handling
Exception Filters
Exception Filters in NestJS
Built-in HTTP Exceptions
MediumBuilt-in HTTP Exceptions in NestJS
HttpException
HighHttpException in NestJS
Custom Exceptions
Custom Exceptions in NestJS
Custom Exception Filters
Custom Exception Filters in NestJS
Global Exception Filters
Global Exception Filters in NestJS
Exception Handling Flow
Exception Handling Flow in NestJS
Error Response Formatting
HighError Response Formatting in NestJS
10. Validation & DTOs
DTOs
DTOs in NestJS
Data Transfer Objects
MediumData Transfer Objects in NestJS
ValidationPipe
ValidationPipe in NestJS
class-validator
class-validator in NestJS
class-transformer
Mediumclass-transformer in NestJS
Nested Validation
Nested Validation in NestJS
Conditional Validation
HighConditional Validation in NestJS
Custom Validators
Custom Validators in NestJS
Whitelisting
Whitelisting in NestJS
ForbidNonWhitelisted
ForbidNonWhitelisted in NestJS
Transform Options
MediumTransform Options in NestJS
11. Authentication & Authorization
Authentication
MediumAuthentication in NestJS
Authorization
HighAuthorization in NestJS
JWT Authentication
JWT Authentication in NestJS
Passport
Passport in NestJS
Passport Strategies
MediumPassport Strategies in NestJS
Local Strategy
MediumLocal Strategy in NestJS
JWT Strategy
MediumJWT Strategy in NestJS
Guards with Passport
HighGuards with Passport in NestJS
Role-based Access Control
Role-based Access Control in NestJS
Permission-based Authorization
Permission-based Authorization in NestJS
Custom Decorators
Custom Decorators in NestJS
Refresh Tokens
MediumRefresh Tokens in NestJS
Session-based Authentication
Session-based Authentication in NestJS
12. Database & ORM
Database Integration
MediumDatabase Integration in NestJS
TypeORM
HighTypeORM in NestJS
Sequelize
MediumSequelize in NestJS
Prisma
Prisma in NestJS
Mongoose
Mongoose in NestJS
Repositories
MediumRepositories in NestJS
Entity Models
HighEntity Models in NestJS
Relations
HighRelations in NestJS
Transactions
HighTransactions in NestJS
Query Builders
HighQuery Builders in NestJS
Database Migrations
MediumDatabase Migrations in NestJS
Connection Management
HighConnection Management in NestJS
Repository Pattern
Repository Pattern in NestJS
Unit of Work
HighUnit of Work in NestJS
13. Configuration
ConfigurationModule
ConfigurationModule in NestJS
Environment Variables
HighEnvironment Variables in NestJS
ConfigService
HighConfigService in NestJS
Custom Configuration
MediumCustom Configuration in NestJS
Configuration Namespaces
MediumConfiguration Namespaces in NestJS
Environment-specific Configuration
HighEnvironment-specific Configuration in NestJS
Configuration Validation
HighConfiguration Validation in NestJS
Secrets Management
Secrets Management in NestJS
14. REST APIs
REST API Design
MediumREST API Design in NestJS
Request Lifecycle
HighRequest Lifecycle in NestJS
HTTP Status Codes
MediumHTTP Status Codes in NestJS
API Versioning
API Versioning in NestJS
Response Serialization
HighResponse Serialization in NestJS
Serialization Interceptors
MediumSerialization Interceptors in NestJS
Pagination
Pagination in NestJS
Filtering
Filtering in NestJS
Sorting
MediumSorting in NestJS
Searching
HighSearching in NestJS
File Uploads
HighFile Uploads in NestJS
API Documentation
HighAPI Documentation in NestJS
15. Swagger & OpenAPI
Swagger Integration
HighSwagger Integration in NestJS
OpenAPI
HighOpenAPI in NestJS
API Tags
MediumAPI Tags in NestJS
DTO Documentation
HighDTO Documentation in NestJS
Request Documentation
MediumRequest Documentation in NestJS
Response Documentation
Response Documentation in NestJS
Authentication Documentation
HighAuthentication Documentation in NestJS
Swagger Decorators
HighSwagger Decorators in NestJS
16. GraphQL
NestJS GraphQL
NestJS GraphQL in NestJS
Code-first vs Schema-first
HighCode-first vs Schema-first in NestJS
Resolvers
HighResolvers in NestJS
Queries
Queries in NestJS
Mutations
MediumMutations in NestJS
Subscriptions
Subscriptions in NestJS
Object Types
MediumObject Types in NestJS
Input Types
HighInput Types in NestJS
Arguments
Arguments in NestJS
GraphQL Guards
GraphQL Guards in NestJS
GraphQL Interceptors
HighGraphQL Interceptors in NestJS
GraphQL Context
HighGraphQL Context in NestJS
DataLoader
MediumDataLoader in NestJS
GraphQL Federation
MediumGraphQL Federation in NestJS
17. Microservices
NestJS Microservices
NestJS Microservices in NestJS
Microservice Architecture
MediumMicroservice Architecture in NestJS
Transporters
HighTransporters in NestJS
TCP Transport
MediumTCP Transport in NestJS
Redis Transport
HighRedis Transport in NestJS
RabbitMQ
RabbitMQ in NestJS
Kafka
Kafka in NestJS
NATS
HighNATS in NestJS
gRPC
gRPC in NestJS
Message Patterns
MediumMessage Patterns in NestJS
Event Patterns
HighEvent Patterns in NestJS
ClientProxy
ClientProxy in NestJS
Request-Response
HighRequest-Response in NestJS
Event-based Communication
Event-based Communication in NestJS
Microservice Exception Handling
Microservice Exception Handling in NestJS
18. Queues & Events
EventEmitter
EventEmitter in NestJS
Event-driven Architecture
HighEvent-driven Architecture in NestJS
Bull
MediumBull in NestJS
BullMQ
HighBullMQ in NestJS
Job Queues
Job Queues in NestJS
Producers
HighProducers in NestJS
Consumers
HighConsumers in NestJS
Workers
HighWorkers in NestJS
Delayed Jobs
Delayed Jobs in NestJS
Retry Strategies
Retry Strategies in NestJS
Job Scheduling
MediumJob Scheduling in NestJS
Dead Letter Queues
Dead Letter Queues in NestJS
19. WebSockets
WebSockets
HighWebSockets in NestJS
Gateways
HighGateways in NestJS
Socket.IO
HighSocket.IO in NestJS
WebSocket Guards
WebSocket Guards in NestJS
WebSocket Interceptors
MediumWebSocket Interceptors in NestJS
WebSocket Pipes
HighWebSocket Pipes in NestJS
Real-time Events
MediumReal-time Events in NestJS
Rooms & Namespaces
Rooms & Namespaces in NestJS
20. Caching
Caching
HighCaching in NestJS
CacheModule
HighCacheModule in NestJS
Cache Interceptors
MediumCache Interceptors in NestJS
Redis Cache
HighRedis Cache in NestJS
Cache-Aside Pattern
MediumCache-Aside Pattern in NestJS
TTL
TTL in NestJS
Cache Invalidation
MediumCache Invalidation in NestJS
Distributed Caching
HighDistributed Caching in NestJS
21. Scheduling
Task Scheduling
Task Scheduling in NestJS
@nestjs/schedule
Medium@nestjs/schedule in NestJS
Cron Jobs
HighCron Jobs in NestJS
Intervals
Intervals in NestJS
Timeouts
MediumTimeouts in NestJS
Scheduled Tasks
MediumScheduled Tasks in NestJS
Distributed Job Scheduling
Distributed Job Scheduling in NestJS
22. Testing
Unit Testing
HighUnit Testing in NestJS
Integration Testing
HighIntegration Testing in NestJS
E2E Testing
MediumE2E Testing in NestJS
Jest
MediumJest in NestJS
TestingModule
HighTestingModule in NestJS
Mocking Providers
HighMocking Providers in NestJS
Mocking Dependencies
Mocking Dependencies in NestJS
Testing Controllers
HighTesting Controllers in NestJS
Testing Services
HighTesting Services in NestJS
Testing Guards
Testing Guards in NestJS
Testing Pipes
Testing Pipes in NestJS
Testing Interceptors
HighTesting Interceptors in NestJS
Testing Middleware
HighTesting Middleware in NestJS
Supertest
MediumSupertest in NestJS
23. Performance & Scalability
Request Lifecycle Optimization
Request Lifecycle Optimization in NestJS
Caching
HighCaching in NestJS
Database Optimization
Database Optimization in NestJS
Connection Pooling
Connection Pooling in NestJS
Async Processing
Async Processing in NestJS
Background Jobs
Background Jobs in NestJS
Horizontal Scaling
Horizontal Scaling in NestJS
Clustering
HighClustering in NestJS
Load Balancing
Load Balancing in NestJS
Rate Limiting
HighRate Limiting in NestJS
Compression
MediumCompression in NestJS
Response Caching
HighResponse Caching in NestJS
Memory Management
HighMemory Management in NestJS
24. Security
Helmet
Helmet in NestJS
CORS
CORS in NestJS
CSRF
MediumCSRF in NestJS
Rate Limiting
HighRate Limiting in NestJS
Input Validation
HighInput Validation in NestJS
SQL Injection Prevention
SQL Injection Prevention in NestJS
XSS Prevention
HighXSS Prevention in NestJS
JWT Security
MediumJWT Security in NestJS
Password Hashing
Password Hashing in NestJS
Secrets Management
MediumSecrets Management in NestJS
Security Headers
HighSecurity Headers in NestJS
API Security
API Security in NestJS
25. Advanced Architecture
Clean Architecture
HighClean Architecture in NestJS
Hexagonal Architecture
Hexagonal Architecture in NestJS
Layered Architecture
HighLayered Architecture in NestJS
Modular Architecture
Modular Architecture in NestJS
Domain-Driven Design
Domain-Driven Design in NestJS
CQRS
HighCQRS in NestJS
Event Sourcing
Event Sourcing in NestJS
Repository Pattern
Repository Pattern in NestJS
Dependency Inversion
Dependency Inversion in NestJS
SOLID Principles
MediumSOLID Principles in NestJS
Custom Decorators
Custom Decorators in NestJS
Dynamic Modules
HighDynamic Modules in NestJS
Custom Providers
MediumCustom Providers in NestJS
Plugin Architecture
MediumPlugin Architecture in NestJS
26. Observability
Logging
Logging in NestJS
Custom Logger
HighCustom Logger in NestJS
Structured Logging
Structured Logging in NestJS
Request Logging
MediumRequest Logging in NestJS
Metrics
Metrics in NestJS
Health Checks
MediumHealth Checks in NestJS
Terminus
MediumTerminus in NestJS
OpenTelemetry
OpenTelemetry in NestJS
Distributed Tracing
MediumDistributed Tracing in NestJS
Error Monitoring
MediumError Monitoring in NestJS
Correlation IDs
HighCorrelation IDs in NestJS
27. Interview Patterns
NestJS Request Lifecycle
HighNestJS Request Lifecycle in NestJS
Dependency Injection Internals
Dependency Injection Internals in NestJS
Middleware vs Guards vs Interceptors vs Pipes
HighMiddleware vs Guards vs Interceptors vs Pipes in NestJS
Singleton vs Request-scoped Providers
HighSingleton vs Request-scoped Providers in NestJS
Module Architecture
MediumModule Architecture in NestJS
Custom Providers
MediumCustom Providers in NestJS
Dynamic Modules
Dynamic Modules in NestJS
Authentication vs Authorization
Authentication vs Authorization in NestJS
Guards vs Middleware
MediumGuards vs Middleware in NestJS
Pipes vs Interceptors
MediumPipes vs Interceptors in NestJS
Exception Filters
HighException Filters in NestJS
NestJS Microservices
MediumNestJS Microservices in NestJS
REST vs GraphQL
MediumREST vs GraphQL in NestJS
TypeORM vs Prisma
HighTypeORM vs Prisma in NestJS
CQRS
CQRS in NestJS
NestJS Performance Optimization
HighNestJS Performance Optimization in NestJS
NestJS Testing Strategy
HighNestJS Testing Strategy in NestJS
Scaling NestJS Applications
Scaling NestJS Applications in NestJS