refactor: authentication module to nestjs

This commit is contained in:
Ahmed Bouhuolia
2025-03-29 22:29:12 +02:00
parent 173610d0fa
commit 85946d3161
27 changed files with 604 additions and 35 deletions

View File

@@ -0,0 +1,11 @@
import { IsNotEmpty, IsString } from 'class-validator';
export class AuthSigninDto {
@IsNotEmpty()
@IsString()
password: string;
@IsNotEmpty()
@IsString()
email: string;
}