Simple React app for approved students to sign in with Google and reserve free rooms.
- Install dependencies:
npm install
- Copy
.env.exampleto.envand set your Google client ID:cp .env.example .env
- Update the allowed student emails in
scripts/seed-data/allowedStudents.ts. - Update rooms and labels in
scripts/seed-data/rooms.ts. - Update the schedule CSV in
scripts/seed-data/rimon_schedule.csv. - Start the app:
npm run dev
The CSV is parsed via src/lib/scheduleBuilder.ts using column names defined in src/config.ts.
To change the format later, edit the config (column names, day mapping, slot minutes).
- Days are mapped from Hebrew letters (א-ה) to Sunday-Thursday.
- Semester A/B hours are treated as academic hours (45 minutes each).
- Reservations are stored in
localStorageonly (demo-level persistence). - Set
VITE_ENABLE_DEV_LOGIN=trueto use the dev sign-in form for testing.