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.

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