- Updated availability admin page to use apiFetch for fetching and modifying blocked dates.
- Enhanced menu generator page to ensure all expected arrays are initialized to avoid rendering issues.
- Added path to cookies in login and logout routes for better cookie management.
- Improved availability blocked API to log request headers and handle both date and id for deletion.
- Updated menu generator API to include tags in the response structure and ensure expected arrays are present.
- Enhanced middleware to handle authentication more robustly, including detailed logging and handling of various request types.
- Added Playwright test to verify that toggling availability does not log out the admin user.
- Created apiFetch utility to standardize API requests with credentials included.
- Implemented a script to add an 'address' column to the 'bookings' table if it doesn't exist.
- Created a script to add 'include_service', 'include_cleanup', and 'total_price' columns to the 'bookings' table.
- Set up a 'users' table with an admin user and password hashing using bcrypt.
- Developed login and logout API routes with JWT authentication.
- Created a login page with form handling and error display.
- Designed a profile page for Christian Wärme showcasing skills and experience.
- Added a logout button component for admin interface.
- Implemented tests for login functionality and visual calendar layout.