This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1mQVNtJI362mNTeyy8PVGR-ooA2Hcvxbi
Prerequisites: Node.js. Optional: Vercel CLI to mirror production serverless locally.
- Install dependencies:
npm install - Copy
.env.exampleto.envand fill in:GEMINI_API_KEYNEXT_PUBLIC_SUPABASE_URL(orSUPABASE_URL)SUPABASE_SERVICE_ROLE_KEY
- Run the app (UI +
/api/eventsvia Vite middleware):npm run dev - Open
http://localhost:3000/#/events - Optional production-parity API:
npm run dev:full(requiresvercel login) - Unit tests:
npm test
- Create a Sheet with tabs
Volunteer,Partner,Contact(see design spec). - Paste
docs/superpowers/scripts/ygpt-contact-apps-script.jsinto Apps Script, setSECRET, deploy as Web app (Anyone). - Set
GOOGLE_SHEETS_WEBAPP_URLandGOOGLE_SHEETS_SECRETin.env. - Submit forms at
http://localhost:3000/#/contact.
