You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
backend/ — SpacetimeDB module (TypeScript), deployed to maincloud as cal-hacks-ansingh
frontend/ — Vite + React app that connects to it
Setup
curl -sSf https://install.spacetimedb.com | sh # SpacetimeDB CLI
spacetime login # browser login for maincloudcd backend && npm install && npm run publish # deploy module to maincloudcd ../frontend && npm install && npm run dev # http://localhost:5173
After changing tables/reducers in backend/src/index.ts
cd backend
npm run publish # redeploy (npm run publish:reset wipes data on schema conflicts)
npm run generate # regenerate frontend/src/module_bindings