Skip to content
Selected work

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.

The coordinator's dashboard for a school week: a summary of 13 sessions with 10 ready and 3 needing attention, a list of what needs attention, and the week's sessions by day with each school, time and team
A volunteer's week on a phone, with a middle school session card giving the time, the address, when to leave campus and be back, the teammates, the school contact and a note about the room
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.

How it fits together
  1. React appTeam builder, availability
  2. Netlify FunctionsREST API, signed sessions
  3. FirestoreA workspace per visitor

Screens

  • The new team dialog for a Thursday afternoon session, with two volunteers on the team, the volunteers free for the session with Add buttons, and a Not available list giving each reason, such as another team at the same time
  • The volunteers list with search and filters, each row with the name and email, major and class year, a small Monday to Friday chart of free hours with the weekly total, and the volunteer's teams
  • A volunteer's availability: a Monday to Friday grid from 8 AM to 8 PM with free half hours in green, two team sessions outlined, and a summary of free times per day
  • The dashboard on a phone, with the week's heading and arrows, the summary line, and the Needs attention list with Edit team and Build team buttons
    A volunteer's week on a phone, with a middle school session card giving the time, the address, when to leave campus and be back, the teammates, the school contact and a note about the room

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.

The planner on demo data, with drivers down the left, each driver's moves across, and the loads still available on the right