Nest JS Project Structure
Understanding the default files and folders in a NestJS project.
CoreConceptLab
29 Concepts Explained
Understanding the default files and folders in a NestJS project.
Organizing application components into modules.
Handling incoming requests and returning responses.
Classes that provide functionality and can be injected into other components.
Design pattern for managing dependencies in NestJS.
Reusable business logic encapsulated in service classes.
Functions that run before route handlers to process requests.
Transforming and validating data before it reaches controllers.
Determining whether a request should be handled based on conditions like authentication.
Intercepting requests/responses to add extra logic such as logging or transformation.
Creating reusable decorators for controllers and methods.
Handling errors globally or at the controller level.
Validating incoming request data using class-validator.
Managing environment variables and app configuration.
Built-in logging utilities for debugging and monitoring.
Unit and integration testing with Jest in NestJS.
Connecting to databases using TypeORM or Mongoose.
Implementing JWT or session-based authentication.
Role-based and permission-based access control.
Building APIs with GraphQL using NestJS.
Creating distributed applications with NestJS microservices module.
Integrating with RabbitMQ or Kafka for async communication.
Real-time communication using WebSockets in NestJS.
Running scheduled tasks with NestJS Scheduler.
Handling file uploads with Multer integration.
Improving performance with Redis caching.
Deploying NestJS applications using Docker and Kubernetes.
Application monitoring with tools like Prometheus and Grafana.
Preventing CSRF, XSS, and SQL injection in NestJS apps.