end fase 2
This commit is contained in:
13
backend/src/comments/comments.module.ts
Normal file
13
backend/src/comments/comments.module.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Comment } from './entities/comment.entity';
|
||||
import { CommentsService } from './comments.service';
|
||||
import { CommentsController } from './comments.controller';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Comment])],
|
||||
controllers: [CommentsController],
|
||||
providers: [CommentsService],
|
||||
exports: [CommentsService],
|
||||
})
|
||||
export class CommentsModule {}
|
||||
Reference in New Issue
Block a user