Commit Graph

17 Commits

Author SHA1 Message Date
c77bef5cf3 add user management features: implement user creation, editing, and deletion; enhance dashboard with user selection prompt; improve token verification and alert handling 2025-08-31 20:02:51 +02:00
217803ba8f implement admin panel with login functionality and dashboard layout 2025-08-31 18:07:49 +02:00
478f03452d added take and return setter buttons 2025-08-28 21:12:58 +02:00
cd2b0e8e42 deleted unused notes 2025-08-20 18:06:40 +02:00
4b79583574 added new api endpoint for getting the loan by the loan code 2025-08-20 17:07:49 +02:00
6d4afa46d7 added more API functions 2025-08-19 21:23:29 +02:00
ffc8fbcefc adjusted data structure 2025-08-19 21:23:15 +02:00
508c30c5d0 Added backend external API to change the inSafe state in the database 2025-08-19 19:33:16 +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
2062f2074c Added second external API endpoint and corrosponding file. 2025-08-19 15:09:11 +02:00
ef78523ccf changed database scheme 2025-08-19 14:38:27 +02:00
06f84cddc4 fixed sidebar and backend for sidebar 2025-08-19 14:00:00 +02:00
298bc81435 implement user authentication with login functionality and database integration 2025-08-18 21:47:20 +02:00
6dad4abd88 added services folder 2025-08-18 17:19:21 +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
8d3d83a83f initial commit 2025-08-18 15:21:55 +02:00