cd backend
go run cmd/app/main.goneeds .env with:
DB_ADDR(neon postgres dsn)FIREBASE_SERVICE_ACCOUNT_PATH(path to json)S3_SUBMISSIONS_BUCKET(aws bucket name)JUDGE0_BASE_URL
cd frontend
npm run devneeds .env.local with:
NEXT_PUBLIC_API_URL(usually http://localhost:8080)NEXT_PUBLIC_FIREBASE_API_KEYNEXT_PUBLIC_FIREBASE_AUTH_DOMAINNEXT_PUBLIC_FIREBASE_PROJECT_IDNEXT_PUBLIC_FIREBASE_STORAGE_BUCKETNEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_IDNEXT_PUBLIC_FIREBASE_APP_ID
Set DUMMY_AUTH=true for backend and NEXT_PUBLIC_AUTH_BYPASS=true for frontend.
Kubernetes manifests live in infra, which is a separate git repo.
backend and frontend are committed to seaweed-fe.
infra is committed to seaweed-infra.
For Vercel, import seaweed-fe and set root directory to frontend.