Skip to content

Dushyant91/Polling-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Live Polling System (Assignment)

Structure

  • backend/: Express + Socket.IO server (port 4000)
  • frontend/: Vite + React app (port 5173)

How to run locally

Backend

cd backend
npm install
node server.js

Frontend

cd frontend
npm install
npm run dev

Open http://localhost:5173

Deployment suggestions

  • 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.

Notes

  • 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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published