You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
391 B
12 lines
391 B
import { Module } from '@nestjs/common';
|
|
import { TodosService } from './todos.service';
|
|
import { TodosController } from './todos.controller';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Todo } from './entities/todo.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Todo])],
|
|
controllers: [TodosController],
|
|
providers: [TodosService],
|
|
})
|
|
export class TodosModule {}
|