Resident-facing dashboard prototype for retirement / assisted-living communities.
- Senior-friendly UI: large text, high contrast, simple layout
- Dashboard (
/):- Clock + date at the top
- Today’s meals (breakfast/lunch/dinner)
- Today’s events/activities
- Photo slideshow (uses
public/photos/)
- Admin editor (
/admin):- Password protected via
ADMIN_PASSWORD - Edits meals/events/photos and saves to localStorage (demo/MVP)
- Password protected via
- Single JSON source of truth:
data/dashboard.json(safe to bundle/read on the frontend)
npm install
npm run devOpen http://localhost:3000.
Create a .env.local file:
ADMIN_PASSWORD=change-meThen open http://localhost:3000/admin and enter the password to unlock editing.
Note: Admin edits are stored in localStorage, so they are per-device/per-browser for demo purposes.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
- Push this repo to GitHub and import it into Vercel.
- In Project Settings → Environment Variables, add:
ADMIN_PASSWORD= your chosen admin password
- Deploy.
- Base content lives in
data/dashboard.jsonand is bundled for safe static reading. - Edits from
/adminare saved to localStorage keyresident-dashboard:data:v1. - For a real system (Firebase / API / multi-home support), replace the localStorage save/load with a backend write/read.