initial commit

This commit is contained in:
andres
2023-05-21 14:52:08 +02:00
commit 268ef59b3d
27 changed files with 6025 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { IsEmail, IsString, Length, Max, Min } from 'class-validator';
export class CreateUserDto {
@IsEmail()
email: string;
@IsString()
password: string;
@IsString()
@Length(2, 40)
name: string;
}