Use your preferred IDE
The only requirement is having Node.js & npm installed - install with nvm
git clone <YOUR_GIT_URL>
cd <YOUR_PROJECT_NAME>
npm i
npm run devThe app requires valid Supabase settings in .env. Copy .env.example to .env and fill in VITE_SUPABASE_URL, VITE_SUPABASE_PUBLISHABLE_KEY, and VITE_SUPABASE_PROJECT_ID from Supabase → Project Settings → API.
Optional: VITE_OPENAI_API_KEY enables real AI summaries and embeddings (otherwise demo mode). Restart npm run dev after changes.
Default dev URL: http://localhost:8080 (vite.config.ts).
- Vite, TypeScript, React, shadcn-ui, Tailwind CSS
-
Push the repo to GitHub and import it in Vercel (Framework: Vite, build:
npm run build, output:dist). -
Environment variables (Project → Settings → Environment Variables):
Name Notes VITE_SUPABASE_URLhttps://YOUR_REF.supabase.coVITE_SUPABASE_PUBLISHABLE_KEYSupabase anon key VITE_SUPABASE_PROJECT_IDProject ref (subdomain) VITE_OPENAI_API_KEYOptional. Enables AI summaries + semantic search helpers. VITE_*variables are embedded in the browser bundle. For small/private deployments, putting the OpenAI key here is acceptable; for a public app at scale, use a server-side proxy instead. -
Authentication → URL Configuration in Supabase: add your Vercel URL to Site URL and Redirect URLs.
To recreate the database elsewhere, run supabase/schema_full.sql in the SQL Editor on a new project. See file header for CSV import order and foreign-key notes.
profiles.id must match auth.users.id. Prefer Sign up in the app, or create users in Authentication → Users, then matching profiles rows.
HTTP 429 on signup: wait 15–60 minutes or add users manually in the Dashboard; see Authentication → Rate Limits.