add: added homepage

This commit is contained in:
Lukian 2025-04-23 09:09:43 +02:00
parent 736f097d20
commit 92f0f90e14
12 changed files with 3825 additions and 153 deletions

26
front/src/types.ts Normal file
View file

@ -0,0 +1,26 @@
export type User = {
id: number;
name: string;
lastname: string;
admin: number;
}
export type Account = {
id: number;
balance: number;
client_id: number;
name: string;
interest: number;
}
export type Accounts = Account[];
export type Card = {
id: number;
account_id: number;
number: string;
expiration: string;
cvc: string;
}
export type Cards = Card[];