File size: 530 Bytes
910c878
6fb7573
910c878
 
a1056d7
 
910c878
 
a0eafe5
910c878
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CoursesService } from './courses.service';
import { CoursesController } from './courses.controller';
import { Course } from '../scraper/entities/course.entity';
import { UserCourse } from '../scraper/entities/user-course.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Course, UserCourse])],
  providers: [CoursesService],
  controllers: [CoursesController],
  exports: [CoursesService],
})
export class CoursesModule {}