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.
|
|
|
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';
|
|
|
|
|
|
|
|
@Module({
|
|
|
|
imports: [
|
|
|
|
DatabaseModule,
|
|
|
|
ConfigModule.forRoot({ isGlobal: true }),
|
|
|
|
UsersModule,
|
|
|
|
ProductsModule,
|
|
|
|
],
|
|
|
|
controllers: [AppController, UsersController],
|
|
|
|
providers: [AppService],
|
|
|
|
})
|
|
|
|
export class AppModule {}
|