Volunteer Assistant
Scheduling for a coding outreach program: coordinators build each school session's team from the volunteers free for it, with travel time and clashes checked.


- Role
- Developer, then rebuilt solo
- Year
- 2021 to 2026
- Stack
- React
- TypeScript
- Vite
- TanStack Query
- Axios
- Netlify Functions
- Cloud Firestore
- Live site
- volunteer-assistant.netlify.app(opens in a new tab)
Volunteer Assistant schedules a university coding outreach program, where students volunteer to teach coding at local schools. Coordinators add schools and their weekly sessions, see the week ahead with every team and what needs attention, and build a team for each session from the volunteers who are free for it. Volunteers set the hours they are free each week and see where they are teaching, when to leave campus and who they are teaching with.
What I built
Volunteer Assistant began around 2021 as a student team project built with React, Node.js and MongoDB. Its code is lost, and four screenshots are all that is left of it. In 2026 I wrote it again from those screens as a new app of my own: the same product, with the scheduling rules checked on the server, a REST API, a demo anyone can open in one click, and an interface that works on a phone.
How it is built
The front end is React with TypeScript and Vite, React Router, TanStack Query over Axios, and plain CSS. The API is a set of Netlify Functions on Node: a small router over a route table that says which roles may call each route, with every request body checked against the same Zod schemas the forms use. The data lives in Cloud Firestore, reached only through the Firebase Admin SDK in the functions, and the security rules refuse every request from a browser. There is no Firebase Auth: a session is a signed, HTTP-only cookie that holds the visitor's workspace and role.
The hard parts
One set of scheduling rules runs in two places. A volunteer can take a session when they are free for it plus the travel time on both sides, are not on a team at an overlapping time, and are not on a team at another school too close before or after to get there. The team builder runs these rules in the browser to list who is free and say why the others are not. The API runs the same check inside a Firestore transaction that bumps the workspace's revision, so two edits at once cannot create a double booking. The same rules flag the dashboard's gaps when a volunteer's hours change after their team was built.
The demo is public, so no visitor can break it for the next one. Each demo sign-in seeds a private workspace with a fresh copy of the demo data in one batch, and every query goes through the workspace named in the signed cookie. Sign-ins are rate limited per address and capped per network each day, workspaces have size limits, writes must come from the site itself, and a daily scheduled function deletes workspaces older than a day.
The availability editor works with a mouse, a finger and a keyboard: a grid of half hours painted by dragging, or crossed with the arrow keys and toggled with Space. On a phone the same data is a tab per day and a list of large toggles, and the page warns before a save that would leave one of the volunteer's teams uncovered.
Stack
React, TypeScript, Vite, React Router, TanStack Query, Axios and Zod. Netlify Functions on Node 22 and Cloud Firestore through the Firebase Admin SDK. Vitest for the scheduling rules and the session signing. IBM Plex Sans, and Netlify for hosting.
- React appTeam builder, availability
- Netlify FunctionsREST API, signed sessions
- FirestoreA workspace per visitor
Screens
Next projectRitehaul Logistics
The operations platform of a drayage company: a drag and drop load planner that merges PortPro and Supabase data, plus fleet, fuel, toll and cost screens.





