This commit is contained in:
2026-02-17 22:38:22 +00:00
parent 1082631525
commit d43d7ebc5e
3 changed files with 5 additions and 249 deletions
+3 -3
View File
@@ -160,7 +160,7 @@ docker compose exec backend sh
| Feature | Backend | Frontend | Notes |
|---------|---------|----------|-------|
| JWT Authentication | ✅ | ✅ | Login, register, middleware; HS256, 30-day expiry |
| JWT Authentication | ✅ | ✅ | Login, register, refresh, middleware; HS256, 30-day expiry, auto-refresh |
| Booking CRUD | ✅ | ⚠️ | Backend complete; frontend submit is stub (logs only) |
| Admin Endpoints | ✅ | ✅ | Services, users, today view, notifications |
| Scheduling System | ✅ | ✅ | Default hours, exceptional hours, working/available hours |
@@ -168,6 +168,7 @@ docker compose exec backend sh
| Loyalty Backend | ✅ | ❌ | DB schema ready, no frontend component |
| VAT System | ✅ | ❌ | `get_vat_return_data()`, `calculate_vat()` functions exist |
| User Referrals | ✅ | ❌ | `user_referrals` table, backend logic exists |
| Token Refresh | ✅ | ✅ | POST /api/refresh-token, auto-refresh in auth store |
### ⚠️ Partially Complete
@@ -185,7 +186,6 @@ docker compose exec backend sh
| Social Auth | `handlers/auth/social.go` | OAuth integration placeholder |
| Analytics | `handlers/admin/analytics.go` | Statistics/dashboard endpoint |
| Portfolio Images | `handlers/portfolio/images.go` | Gallery management |
| RefreshTokenHandler | `handlers/auth/local.go:322` | Token refresh endpoint |
### 🚧 Critical TODOs
@@ -203,7 +203,7 @@ docker compose exec backend sh
|---------|-------------|
| One-off Custom Services | Allow creating single-use services not in regular catalog |
| One-off Exceptional Hours | Single-day overrides without creating a group |
| Auto Lunch Protection | Prevent booking during lunch hours automatically |
| S3/R2 Image Hosting | Portfolio image storage with admin upload |
---