A basketball franchise management game built with React, Vite, and Supabase.
- Frontend: React 18, Vite, TailwindCSS, Framer Motion
- Backend: Supabase (PostgreSQL + Auth)
- Deployment: Vercel
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env
# Edit .env with your Supabase credentials
# Start dev server
npm run devgit add .
git commit -m "Prepare for Vercel deployment"
git push origin main- Go to vercel.com
- Import your GitHub repo
- Add environment variables:
VITE_SUPABASE_URL= your Supabase URLVITE_SUPABASE_ANON_KEY= your Supabase anon key
Vercel auto-deploys on push to GitHub.
- Create a Supabase project at supabase.com
- Run your SQL migrations in the Supabase SQL Editor
- Copy the URL and anon key to Vercel environment variables
src/
components/ # React components
context/ # React context providers
hooks/ # Custom React hooks
lib/ # Utilities (Supabase client, engines)
pages/ # Page components
services/ # API services