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.
22 lines
755 B
22 lines
755 B
import { Module } from '@nestjs/common'; |
|
import { AppController } from './app.controller'; |
|
import { AppService } from './app.service'; |
|
import { DatabaseModule } from './core/database/database.module'; |
|
import { ConfigModule } from '@nestjs/config'; |
|
import { UsersModule } from './modules/users/users.module'; |
|
import { UsersController } from './modules/users/users.controller'; |
|
import { ProductsModule } from './modules/products/products.module'; |
|
import { AuthModule } from './modules/auth/auth.module'; |
|
|
|
@Module({ |
|
imports: [ |
|
DatabaseModule, |
|
ConfigModule.forRoot({ isGlobal: true }), |
|
UsersModule, |
|
ProductsModule, |
|
AuthModule, |
|
], |
|
controllers: [AppController, UsersController], |
|
providers: [AppService], |
|
}) |
|
export class AppModule {}
|
|
|