feat(auth): add Auth service and module
A new authentication service and module were added to the application. The app.module.ts file was updated to include this newly created AuthModule. Also, an initial structure for the AuthService was set up.
This commit is contained in:
@@ -3,6 +3,7 @@ import { ConfigModule, ConfigService } from "@nestjs/config";
|
||||
import { LogService } from "./logger/logger.service";
|
||||
import { ThrottlerModule } from "@nestjs/throttler";
|
||||
import { DrizzleModule } from './drizzle/drizzle.module';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -13,7 +14,8 @@ import { DrizzleModule } from './drizzle/drizzle.module';
|
||||
ConfigModule.forRoot({
|
||||
isGlobal: true
|
||||
}),
|
||||
DrizzleModule
|
||||
DrizzleModule,
|
||||
AuthModule
|
||||
],
|
||||
exports: [LogService],
|
||||
controllers: [],
|
||||
|
||||
7
src/auth/auth.module.ts
Normal file
7
src/auth/auth.module.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { AuthService } from './auth.service';
|
||||
|
||||
@Module({
|
||||
providers: [AuthService]
|
||||
})
|
||||
export class AuthModule {}
|
||||
4
src/auth/auth.service.ts
Normal file
4
src/auth/auth.service.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
|
||||
@Injectable()
|
||||
export class AuthService {}
|
||||
Reference in New Issue
Block a user