feat(auth): implement registration page and logic

This commit is contained in:
2025-06-17 08:46:35 +03:00
parent df460f57ab
commit c4a1c2cde0
6 changed files with 200 additions and 5 deletions

6
src/types.ts Normal file
View File

@@ -0,0 +1,6 @@
// Тип для запроса на регистрацию, должен совпадать с бэкендом
export interface RegisterRequest {
username: string;
email: string;
password: string;
}