source-code/
portofolio-backend
Public
typescript12 lines194 B
import { IsEmail, IsNotEmpty, MinLength } from 'class-validator';
export class LoginDto {
@IsEmail()
@IsNotEmpty()
email!: string;
@IsNotEmpty()
@MinLength(6)
password!: string;
}
About
Fullstack portfolio backend built with NestJS, Prisma, and PostgreSQL. Features JWT authentication, throttler rate limits, cache management, and automated GitHub repository synchronization.
linknre.codes
TypeScriptNestJSPostgreSQLPrisma