mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 14:59:39 +02:00
1. SEO Slugs: Auto-generated from name (ä→ae, ö→oe, etc.), unique with -2/-3 suffix. Routes accept both UUID and slug. Seed data includes slugs. 2. Opening Hours + Contact: website, phone, openingHours fields in schema. Displayed on detail page, editable in add/edit forms. 3. Landing Page with API: Fetches locations from backend at build time, falls back to hardcoded JSON if API unreachable. 4. Frontend Tests: Vitest setup with api.test.ts (50 backend + web tests). 5. Marker Clustering: leaflet.markercluster for 10+ locations on map, direct markers for fewer. 6. Favorite Collections: New collections table with CRUD endpoints. Favorites page has tabs for favorites vs collections. Create, view, delete collections with location management. 7. Rate Limiting: In-memory guard (10 req/min) on write endpoints. Returns 429 with retryAfter. 8. Soft Deletes: deletedAt field, all reads filter deleted records. POST /locations/:id/restore endpoint for owners. 50 backend tests passing, 0 type errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| CLAUDE.md | ||