Trying to launch my application but unsure which file is causing the issue. Can someone point me in the right direction?
Here is a snippet of my app.module.ts file:
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { AppController } from './app.controller';
import { AuthModule } from './auth/auth.module';
import { AssigmentsModule } from './posts/assigments.module';
import { UsersModule } from './users/users.module';
import { MongooseModule } from '@nestjs/mongoose';
@Module({
imports: [
ConfigModule.forRoot({
envFilePath: '.env',
isGlobal: true,
}),
MongooseModule.forRoot(process.env.MONGO_URI),
AuthModule,
AssigmentsModule,
UsersModule,
],
controllers: [AppController],
})
export class AppModule {}
Additionally, here is a link to the repository with the code on the dev branch: https://github.com/MoneyIgos/biuro-makowskaj-api/tree/dev