- backend/: Express + Socket.IO server (port 4000)
- frontend/: Vite + React app (port 5173)
cd backend
npm install
node server.js
cd frontend
npm install
npm run dev
- Backend: Deploy to Render / Heroku / Railway. Ensure PORT env var is set.
- Frontend: Build and host on Netlify / Vercel. Set VITE_SOCKET_URL to the backend URL.
- In-memory store used for simplicity. For production, use a DB.
- The UI aims to match the provided Figma design layout and behaviour (teacher/student views, 60s timeout, results shown after timeout or when all answered).