Skip to content

Commit

Permalink
create service & controller
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Nov 9, 2023
1 parent 943c5bd commit cd68553
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Controller } from '@nestjs/common';

@Controller('auth')
export class AuthController {}
6 changes: 4 additions & 2 deletions src/auth/auth.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { Module } from '@nestjs/common';
import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';

@Module({
imports: [],
providers: [],
providers: [AuthService],
exports: [],
controllers: [],
controllers: [AuthController],
})
export class AuthModule {}
4 changes: 4 additions & 0 deletions src/auth/auth.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';

@Injectable()
export class AuthService {}

0 comments on commit cd68553

Please sign in to comment.