Commit Graph

6 Commits

Author SHA1 Message Date
217803ba8f implement admin panel with login functionality and dashboard layout 2025-08-31 18:07:49 +02:00
ffc8fbcefc adjusted data structure 2025-08-19 21:23:15 +02:00
9287c949ca feat: Implement loan management features including fetching, creating, and deleting loans
- Added database functions for managing loans: getLoans, getUserLoans, deleteLoan, and createLoan.
- Updated frontend to include new Form4 for displaying user loans and handling loan deletions.
- Replaced Form3 with Form4 in App component.
- Enhanced Form1 to set borrowing dates and fetch available items.
- Improved Form2 to display borrowable items and allow selection for loans.
- Introduced utility functions for handling loan creation and deletion in userHandler.
- Added event listeners for local storage updates to keep UI in sync.
- Updated fetchData utility to retrieve loans and user loans from the backend.
2025-08-19 19:13:52 +02:00
ef78523ccf changed database scheme 2025-08-19 14:38:27 +02:00
752afd7d88 changed data structure 2025-08-18 16:57:28 +02:00
69a2171479 added scheme sql file 2025-08-18 15:54:50 +02:00