Files
vote-back/src/vote/vote.module.ts
T
2025-06-01 13:07:45 +02:00

13 lines
399 B
TypeScript

import { Module } from '@nestjs/common';
import { InviteCode, Vote } from './vote.entity';
import { VoteController } from './vote.controller';
import { VoteService } from './vote.service';
import { TypeOrmModule } from '@nestjs/typeorm';
@Module({
imports: [TypeOrmModule.forFeature([Vote, InviteCode])],
controllers: [VoteController],
providers: [VoteService],
})
export class VoteModule {}