Created
August 12, 2024 01:59
-
-
Save paulodutra/c3833ef88349d5ba90a6115dc9589d5c to your computer and use it in GitHub Desktop.
Configuration of the module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common'; | |
import { DatabaseModule } from '@/infrastructure/database/database.module'; | |
import { TaskController } from '@/modules/task/task.controller'; | |
import { TaskService } from '@/modules/task/task.service'; | |
@Module({ | |
imports: [DatabaseModule.forRoot()], | |
controllers: [TaskController], | |
providers: [TaskService], | |
}) | |
export class ModulesModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment