You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
542 B
TypeScript

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from './auth/auth.module';
import { DataSource } from 'typeorm';
import { RtgsModule } from './tables/rtgs/rtgs.module';
import getTypeOrmConfig from './config/typeorm.config';
@Module({
imports: [
// TypeOrmModule.forRootAsync({
// useFactory: async () => await getTypeOrmConfig(),
// }),
AuthModule,
RtgsModule,
],
controllers: [],
providers: [],
})
export class AppModule {
constructor() {}
}