How kwaaya/nonesi-lodge works
Nonesi Lodge combines a public accommodation website with a browser-based admin portal, plus a reusable hospitality-site template. The guest journey is to review lodge and room information, then use the site’s contact or booking options; the admin portal provides dashboard, room, gallery, inquiry, and settings areas. The demo data helper stores those records in localStorage. Supabase authentication and database support are documented as scaffolding, not active integration. Page-level implementation excerpts were not provided, so links involving page behavior are limited to documented relationships.
Main entry points: demo-data.js Demo data CRUD · admin-shell.js Shared admin shell · rooms.html Room management · gallery.html Gallery management
Components 16
Guest website
- Lodge website
index.html
Admin portal
- Admin login
admin/login.html - Dashboard
admin/index.html - Room management
admin/rooms.html - Gallery management
admin/gallery.html - Inquiry management
admin/inquiries.html - Lodge settings
admin/settings.html - Shared admin shell
admin/js/admin-shell.js
Admin data and auth
- Demo data CRUD
admin/js/demo-data.js - Supabase auth scaffold
admin/js/supabase.js - Browser localStorage
Site template
- Lodge content
template/config.js - Template website
template/index.html
Other components
- Guest
- Lodge administrator
- Supabase service
Connections 17
- Guest → Lodge website: views
README.md - Lodge website → Lodge content: uses content
- Lodge administrator → Admin login: signs in
README.md - Lodge administrator → Dashboard: manages lodge
README.md - Dashboard → Shared admin shell: uses shared shell
README.md - Room management → Shared admin shell: uses shared shell
README.md - Gallery management → Shared admin shell: uses shared shell
README.md - Inquiry management → Shared admin shell: uses shared shell
README.md - Lodge settings → Shared admin shell: uses shared shell
README.md - Room management → Demo data CRUD: CRUD records
- Gallery management → Demo data CRUD: CRUD records
- Inquiry management → Demo data CRUD: CRUD records
- Lodge settings → Demo data CRUD: CRUD records
- Demo data CRUD → Browser localStorage: reads and writes
admin/js/demo-data.js - Admin login → Supabase auth scaffold: auth scaffold
- Supabase auth scaffold → Supabase service: auth and data
admin/js/supabase.js - Template website → Lodge content: configured by