NEW: One-command setup available! Run
./scripts/setup-local.shfor automated setup.
supabase startCopy the output - you'll need the keys!
cp .env.example .env.development.localReplace with values from supabase start:
SUPABASE_URL=http://localhost:54321
SUPABASE_ANON_KEY=your-anon-key-here
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
COOKIE_SECRET=any-random-string
JWT_SECRET=your-jwt-secret-from-supabase-start
PORT=3000
FRONTEND_URL=http://localhost:3000
SERVER_URL=http://localhost:3000
COOKIE_DOMAIN=localhost
COOKIE_SECURE=false
COOKIE_SAMESITE=laxnpm run start:dev./scripts/test-api.shLogin:
curl -X POST http://localhost:3000/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]","password":"TestPass123!"}' \
-c cookies.txt -vMake authenticated request:
curl -X GET http://localhost:3000/api/v1/user/me \
-b cookies.txtSee LOCAL_SETUP.md for complete setup instructions.
- API: http://localhost:54321
- Studio: http://localhost:54323
- Email Testing: http://localhost:54324