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
19 lines
699 B
TypeScript
19 lines
699 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { AnalyticsController } from './analytics.controller';
|
|
import { AnalyticsService } from './analytics.service';
|
|
import { Transaction } from '../transactions/entities/transaction.entity';
|
|
import { Category } from '../categories/entities/category.entity';
|
|
import { Budget } from '../budgets/entities/budget.entity';
|
|
import { Goal } from '../goals/entities/goal.entity';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Transaction, Category, Budget, Goal]),
|
|
],
|
|
controllers: [AnalyticsController],
|
|
providers: [AnalyticsService],
|
|
exports: [AnalyticsService],
|
|
})
|
|
export class AnalyticsModule {}
|