A Vite + React + Zustand PWA for tracking summer token tasks, physical bank totals, and reward redemptions in Google Firestore.
-
Install dependencies:
npm install
-
Add Firebase config:
Copy-Item .env.local.example .env.local
Fill in the values from Firebase project settings for
token-economy-b08ac. -
Run locally:
npm run dev
This follows the same nested collection style as the pinball app:
data/kids/kidsdata/tasks/tasksdata/rewards/rewardsdata/earnings/earningsdata/redemptions/redemptions
Starter tasks and rewards seed automatically when those collections are empty.
The workflow in .github/workflows/deploy.yml builds the PWA with the /token-economy/ base path and publishes dist.