frontend init

This commit is contained in:
2026-02-15 17:56:28 +01:00
parent 7afe2da63e
commit b52429c250
33 changed files with 1688 additions and 0 deletions

20
front/src/types/index.ts Normal file
View File

@@ -0,0 +1,20 @@
export interface User {
username: string
email: string
}
export interface LoginCredentials {
email: string
password: string
}
export interface SignupCredentials {
username: string
email: string
password: string
}
export interface AuthResponse {
user: User
token: string
}