feat: Initial Material You client implementation

Implemented a Material You (Material 3) client for the bonch-open-api.
- Added API client with axios
- Added Zustand store for API config and user data
- Added Login and Profile pages
- Set up routing with react-router-dom
- Added global styles with Material 3 tokens

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-04-11 00:40:55 +03:00
commit e176c00e52
25 changed files with 3786 additions and 0 deletions

17
src/types/api.ts Normal file
View File

@@ -0,0 +1,17 @@
export interface Profile {
fullName: string;
group?: string;
faculty?: string;
studentId?: string;
email?: string;
raw: Record<string, string>;
}
export interface ApiResponse<T> {
data: T;
}
export interface ApiError {
error: string;
message: string;
}