Add project scaffolding and development infrastructure: - Add environment configuration files (.env.development, .env.example) with database, JWT, security, AI integration, logging, and CORS settings - Add .gitignore to exclude build artifacts, logs, IDE files, and environment variables - Add .prettierrc with single quotes and trailing commas configuration - Add multi-stage Dockerfile with development, build, and production stages - Ad
24 lines
907 B
TypeScript
24 lines
907 B
TypeScript
import { Module, forwardRef } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { RecommendationsController } from './recommendations.controller';
|
|
import { RecommendationsService } from './recommendations.service';
|
|
import { Recommendation } from './entities/recommendation.entity';
|
|
import { AiModule } from '../ai/ai.module';
|
|
import { TransactionsModule } from '../transactions/transactions.module';
|
|
import { BudgetsModule } from '../budgets/budgets.module';
|
|
import { GoalsModule } from '../goals/goals.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Recommendation]),
|
|
AiModule,
|
|
forwardRef(() => TransactionsModule),
|
|
forwardRef(() => BudgetsModule),
|
|
forwardRef(() => GoalsModule),
|
|
],
|
|
controllers: [RecommendationsController],
|
|
providers: [RecommendationsService],
|
|
exports: [RecommendationsService],
|
|
})
|
|
export class RecommendationsModule {}
|