NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
24 lines
990 B
TypeScript
24 lines
990 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { AuthModule } from '../auth/auth.module';
|
|
import { TenantModule } from '../tenant/tenant.module';
|
|
import { CategoriesController, PublicCategoriesController } from './categories.controller';
|
|
import { CategoriesService } from './categories.service';
|
|
import { CategoryTechnicalFormAiService } from './category-technical-form-ai.service';
|
|
import { CategoryAiService } from './category-ai.service';
|
|
import { CategoryTechnicalFormService } from './category-technical-form.service';
|
|
import { CategoryVariationsService } from './category-variations.service';
|
|
|
|
@Module({
|
|
imports: [AuthModule, TenantModule],
|
|
controllers: [CategoriesController, PublicCategoriesController],
|
|
providers: [
|
|
CategoriesService,
|
|
CategoryVariationsService,
|
|
CategoryTechnicalFormService,
|
|
CategoryTechnicalFormAiService,
|
|
CategoryAiService,
|
|
],
|
|
exports: [CategoryVariationsService, CategoryTechnicalFormService],
|
|
})
|
|
export class CategoriesModule {}
|