Skip to content

Nest Modules Overview

Our backend is built using NestJS, as mentioned in Server which relies heavily on a modular architecture to keep the codebase organized, scalable, and loosely coupled.

The following pages cover the specific modules defined throughout our backend. To make navigation easier, they are grouped into their architectural categories.

1. Feature Modules

These modules encapsulate specific business domains. They contain the controllers, services, and business logic for these areas.

  • Production Module - Manages production data and its associated entities.
  • Event Module - Handles the lifecycle and details of scheduled events.
  • Tag Module - Manages categorization tags used across the platform.
  • Blog Module - Takes cate of any blogs added to the archive.
  • Location Module - Handles the different locations events can be at.
  • Price Module - Handles the different types of prices events can have.

2. Core Modules

These modules handle application-wide infrastructure. They are typically imported only once in the root AppModule.

3. Shared/Utility Modules

These are helper modules that provide reusable services across multiple feature modules.

  • Util Module - Holds Utility Services that can be used anywhere in the project.