feat: Add admin calendar and improve availability management

- Add admin calendar component with booking overview and status management
- Implement treatment-specific availability slots with automatic duration
- Enhance availability management with better UI and error handling
- Move admin credentials to .env configuration
- Add .env.example with all required environment variables
- Update README.md with comprehensive setup guide including PowerShell password hash generation
- Improve slot deletion with proper error handling and user feedback
- Add toast notifications for better UX
This commit is contained in:
2025-09-30 10:58:33 +02:00
parent 2e5bfdd879
commit 072c7985c7
8 changed files with 841 additions and 136 deletions

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
# Email Configuration
RESEND_API_KEY=your_resend_api_key_here
EMAIL_FROM=noreply@yourdomain.com
ADMIN_EMAIL=admin@yourdomain.com
# Admin Account Configuration
ADMIN_USERNAME=owner
ADMIN_PASSWORD_HASH=YWRtaW4xMjM=
# OpenAI Configuration (optional)
OPENAI_API_KEY=your_openai_api_key_here
# AWS Configuration (optional)
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
# Other API Keys (optional)
BW_CLIENTSECRET=your_bw_client_secret_here