chore: imported existing user module files from old repo

This commit is contained in:
ankitsridhar16
2022-12-07 23:11:52 +05:30
parent ee002df110
commit a173d2c808
3 changed files with 71 additions and 5 deletions

View File

@@ -1,9 +1,8 @@
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { GraphQLModule } from '@nestjs/graphql';
import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo';
import { AppResolver } from './app.resolver';
import { UserModule } from './user/user.module';
import { GQLComplexityPlugin } from './plugins/GQLComplexityPlugin';
@Module({
imports: [
@@ -44,8 +43,8 @@ import { AppResolver } from './app.resolver';
},
driver: ApolloDriver,
}),
UserModule,
],
controllers: [AppController],
providers: [AppService, AppResolver],
providers: [GQLComplexityPlugin],
})
export class AppModule {}