chore: created auth module and installed relevant base dependencies

This commit is contained in:
Balu Babu
2023-01-09 12:10:06 +05:30
parent a6ce882511
commit 445102226e
3 changed files with 264 additions and 12 deletions

View File

@@ -25,10 +25,13 @@
"@nestjs/common": "^9.2.1",
"@nestjs/core": "^9.2.1",
"@nestjs/graphql": "^10.1.6",
"@nestjs/jwt": "^10.0.1",
"@nestjs/passport": "^9.0.0",
"@nestjs/platform-express": "^9.2.1",
"@prisma/client": "^4.7.1",
"apollo-server-express": "^3.11.1",
"apollo-server-plugin-base": "^3.7.1",
"argon2": "^0.30.3",
"express": "^4.17.1",
"fp-ts": "^2.13.1",
"graphql": "^15.5.0",
@@ -37,6 +40,8 @@
"graphql-subscriptions": "^2.0.0",
"io-ts": "^2.2.16",
"ioredis": "^5.2.4",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"postmark": "^3.0.15",
"prisma": "^4.7.1",
"reflect-metadata": "^0.1.13",
@@ -51,6 +56,7 @@
"@types/express": "^4.17.14",
"@types/jest": "^27.5.2",
"@types/node": "^18.11.10",
"@types/passport-jwt": "^3.0.8",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",

View File

@@ -3,6 +3,7 @@ import { GraphQLModule } from '@nestjs/graphql';
import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo';
import { UserModule } from './user/user.module';
import { GQLComplexityPlugin } from './plugins/GQLComplexityPlugin';
import { AuthModule } from './auth/auth.module';
@Module({
imports: [
@@ -44,6 +45,7 @@ import { GQLComplexityPlugin } from './plugins/GQLComplexityPlugin';
driver: ApolloDriver,
}),
UserModule,
AuthModule,
],
providers: [GQLComplexityPlugin],
})