Casa Mirador Backend
This Rails app is intended to sit behind the static presentation layer.
Endpoints
GET /api/galleryreturns gallery metadata for the frontend.POST /api/visitsrecords a deduplicated visit.GET /admin?token=...shows the token-protected dashboard.GET /docs/:key?token=...streams protected documents.
Configured document slots
- brochure: Brochure
- floorplan: Floor plan
- technical_details: Technical details