auroheim/
├── netlify.toml ← Netlify config
├── package.json ← Dependencies
├── netlify/functions/ ← Serverless backend
│ ├── _utils.js ← Shared auth utilities
│ ├── admin-login.js ← POST /api/admin-login
│ ├── create-booking.js ← POST /api/create-booking
│ ├── get-booking.js ← GET /api/get-booking?code=AH-XXXX
│ ├── booked-dates.js ← GET /api/booked-dates
│ ├── admin-bookings.js ← GET /api/admin-bookings (admin)
│ └── update-booking.js ← POST /api/update-booking (admin)
└── public/
├── index.html ← Main brochure (copy from outputs)
├── rooms.html ← Rooms page (copy from outputs)
└── booking.html ← Booking system ✓
- Go to github.com → New repository → name it
auroheim - Set to Public, no README needed
- Upload the entire folder contents into the repo
- Also copy
index.htmlandrooms.htmlfrom your previous outputs intopublic/
- Go to app.netlify.com → "Add new site" → "Import an existing project"
- Connect your GitHub account → select the
auroheimrepo - Build settings:
- Build command: (leave empty)
- Publish directory:
public
- Click Deploy site
Go to: Site settings → Environment variables → Add these:
| Key | Value |
|---|---|
ADMIN_USERNAME |
AuroHeim_Admin |
ADMIN_PASSWORD |
AuroHeim_EnriquezAdmin1767 |
ADMIN_SECRET |
any random 32+ char string e.g. xK9#mP2$qL7nR4vT8wZ1cY5jU3bE6hN0 |
⚠️ Never share or commit these values. They live only in Netlify's dashboard.
- Go to: Site settings → Data & Edge → Blobs
- Enable it (it's free on the Starter plan)
- Go to Deploys tab → "Trigger deploy" → "Deploy site"
- Wait ~1 minute for it to go live
- Main site:
https://your-site-name.netlify.app - Booking page:
https://your-site-name.netlify.app/booking.html - Admin: click "Admin" button on the booking page (top right nav)
- Go to
booking.html→ tap Admin in the top nav - Login with:
- Username:
AuroHeim_Admin - Password:
AuroHeim_EnriquezAdmin1767
- Username:
- Look up bookings by code, or browse all bookings
- Confirm → blocks those dates for all future guests
- Reject → releases the dates back to available
- Sessions expire after 55 minutes automatically
- In Netlify: Site settings → Domain management → Add custom domain
- e.g.
auroheim.comorbook.auroheim.com