Commit Graph

103 Commits

Author SHA1 Message Date
4b79583574 added new api endpoint for getting the loan by the loan code 2025-08-20 17:07:49 +02:00
410923af92 Merge branch 'dev' into debian12 2025-08-20 13:39:19 +02:00
c779a31bfa updated toastify design 2025-08-20 13:38:54 +02:00
24c405386b fixed url bug 2025-08-20 13:21:55 +02:00
d5296bd3fa Merge branch 'dev' into debian12 2025-08-20 13:18:01 +02:00
c33f3e1101 refactor Layout component for improved sidebar responsiveness 2025-08-20 13:17:23 +02:00
67dd74d3d3 refactor Sidebar component layout for improved responsiveness 2025-08-20 13:09:32 +02:00
d82cde55cc deleted unnecessary imports 2025-08-20 13:06:46 +02:00
2b7f6e8e17 fixed sidebar displaying bug 2025-08-20 13:06:22 +02:00
ccceb5840c fixed sidebar display bug 2025-08-20 12:42:29 +02:00
ff219d850b fixed bug: Now you dont have to reload the page twice, after creating a loan 2025-08-20 12:30:37 +02:00
ef19592b32 refactor docs 2025-08-20 01:29:58 +02:00
3ee2f6b670 Merge branch 'dev' into debian12 2025-08-20 01:08:15 +02:00
8291968e7a maked ui simpler 2025-08-20 01:07:00 +02:00
09af4c760c fix: update database connection settings in docker-compose and database service 2025-08-20 00:49:44 +02:00
3fd0fd9584 fix: add borrow_system-internal network to frontend, backend, and mysql services in docker-compose 2025-08-20 00:45:43 +02:00
27984ebac8 added 2025-08-20 00:42:56 +02:00
3d4aab74d5 changed back 2025-08-20 00:30:49 +02:00
4076630eec changed 2025-08-20 00:27:06 +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
e1d79d2c79 fix: update port numbers and API endpoints for consistency across backend and frontend 2025-08-19 23:55:13 +02:00
2480bfab89 feat: update UI components and styles for improved user experience
- Removed obsolete PDF file from the mock directory.
- Updated index.html to change the favicon and title for the application.
- Deleted unused vite.svg file and replaced it with shapes.svg.
- Enhanced App component layout and styling.
- Refined Form1 component with better spacing and updated styles.
- Improved Form2 component to enhance item selection UI and responsiveness.
- Updated Form4 component to improve loan display and interaction.
- Enhanced Header component styling for better visibility.
- Refined LoginForm component for a more modern look.
- Updated Object component styles for better text visibility.
- Improved Sidebar component layout and item display.
- Updated global CSS for better touch target improvements.
- Enhanced Layout component for better responsiveness and structure.
- Updated main.tsx to change toast notification theme.
- Updated tailwind.config.js to include index.html for Tailwind CSS processing.
2025-08-19 23:32:14 +02:00
64bfbecd84 enhance documentation with additional context for item states and API responses 2025-08-19 21:40:28 +02:00
d1494473ef fixed display bug in the table 2025-08-19 21:37:32 +02:00
cbcf282ca3 removed unnesesarry function 2025-08-19 21:26:48 +02:00
c389b38cf5 added new log column "take_date"
Also removed unnesesarry code notes
2025-08-19 21:24:41 +02:00
4080d171cf changed docs accordingly 2025-08-19 21:23:54 +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
a1435e3280 docs: Remove outdated quick start instructions from README 2025-08-19 19:43:48 +02:00
61c0c8ac96 Overworked docs 2025-08-19 19:42:11 +02:00
6c56c3e46d refactor: Simplify and update backend API documentation for clarity and structure 2025-08-19 19:36:13 +02:00
b065f234bc added documentation for the Backend API 2025-08-19 19:33:38 +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
1195e050da Add backend API documentation with current endpoints and item details 2025-08-19 15:09:22 +02:00
2062f2074c Added second external API endpoint and corrosponding file. 2025-08-19 15:09:11 +02:00
76b5599809 changed API docs folder structure 2025-08-19 14:39:37 +02:00
ef78523ccf changed database scheme 2025-08-19 14:38:27 +02:00
8fbcd069b5 Added improved login and logout route for the frontend. The frontend page now doesn't have to reload. 2025-08-19 14:21:30 +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
817a1efcdd added final frontend with full responsive style but without any logic 2025-08-18 18:41:52 +02:00
ea275c0fd0 added Mockups 2025-08-18 17:51:53 +02:00
6dad4abd88 added services folder 2025-08-18 17:19:21 +02:00
634397cc7e changed data sketch 2025-08-18 17:15:58 +02:00
752afd7d88 changed data structure 2025-08-18 16:57:28 +02:00
913aace27f Added Layout and Header component 2025-08-18 16:08:18 +02:00
430f407104 Added docs 2025-08-18 16:08:05 +02:00