Initial commit: NestJS backend for Child Gold Land

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-02 08:08:11 +02:00
co-authored by Cursor
commit edb79180a1
93 changed files with 11565 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { IsString } from 'class-validator'
export class LoginDto {
@IsString()
username!: string
@IsString()
password!: string
}
+13
View File
@@ -0,0 +1,13 @@
import { IsOptional, IsString } from 'class-validator'
export class RegisterDto {
@IsString()
username!: string
@IsString()
password!: string
@IsOptional()
@IsString()
name?: string
}