12 Commits

Author SHA1 Message Date
e4467dba32 Merge branch 'dev' into debian12 2025-08-20 18:10:27 +02:00
4b79583574 added new api endpoint for getting the loan by the loan code 2025-08-20 17:07:49 +02:00
09af4c760c fix: update database connection settings in docker-compose and database service 2025-08-20 00:49:44 +02:00
6025212e93 refactor: remove redundant environment variable validation and connection check in database service
fix: update dependency reference for backend service in docker-compose
2025-08-20 00:25:35 +02:00
de554048eb added tester 2025-08-20 00:20:35 +02:00
6d4afa46d7 added more API functions 2025-08-19 21:23:29 +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
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