{"id":34861289,"url":"https://github.com/devradheee/intervue-polling-system","last_synced_at":"2026-04-11T15:37:02.589Z","repository":{"id":329010911,"uuid":"1117756663","full_name":"devradheee/intervue-polling-system","owner":"devradheee","description":"Live Polling System built as part of the Intervue.io SDE Intern Role Assignment.  The application allows users to create polls, vote in real time, and view live results with a responsive UI.","archived":false,"fork":false,"pushed_at":"2025-12-17T09:45:23.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-28T19:53:29.027Z","etag":null,"topics":["expressjs","mongodb-atlas","nodejs","reactjs"],"latest_commit_sha":null,"homepage":"https://intervue-polling-system-tau.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devradheee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-16T19:11:02.000Z","updated_at":"2025-12-17T10:04:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devradheee/intervue-polling-system","commit_stats":null,"previous_names":["devradheee/intervue-polling-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devradheee/intervue-polling-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devradheee%2Fintervue-polling-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devradheee%2Fintervue-polling-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devradheee%2Fintervue-polling-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devradheee%2Fintervue-polling-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devradheee","download_url":"https://codeload.github.com/devradheee/intervue-polling-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devradheee%2Fintervue-polling-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31686140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","mongodb-atlas","nodejs","reactjs"],"created_at":"2025-12-25T21:10:11.516Z","updated_at":"2026-04-11T15:37:02.580Z","avatar_url":"https://github.com/devradheee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# intervue-polling-system\n\nLive Polling System built as part of the Intervue.io SDE Intern Role Assignment. The application allows users to create polls, vote in real time, and view live results with a responsive UI.\n\nA modern, full-stack poll system application built with React and Node.js/Express with MongoDB integration.\n\n## Features\n\n- ✅ Create polls with multiple options\n- ✅ Vote on polls\n- ✅ View real-time poll results with visual charts\n- ✅ Set expiration dates for polls\n- ✅ Delete polls\n- ✅ Responsive design with modern UI\n- ✅ RESTful API backend\n\n## Tech Stack\n\n### Frontend\n- React 18\n- React Router\n- Axios\n- React Icons\n- CSS3 with modern styling\n\n### Backend\n- Node.js\n- Express.js\n- MongoDB (with Mongoose)\n- RESTful API\n\n## Installation\n\n### Prerequisites\n- Node.js (v14 or higher)\n- npm or yarn\n\n### Setup\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/devradheee/intervue-polling-system.git\n   cd intervue-polling-system\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n## Project Structure\n\n```\nPoll_System/\n├── client/                 # React frontend\n│   ├── public/\n│   ├── src/\n│   │   ├── components/     # React components\n│   │   ├── services/       # API services\n│   │   ├── App.js\n│   │   └── index.js\n│   └── package.json\n├── server/                 # Express backend\n│   ├── index.js           # Server entry point\n│   ├── test-connection.js # MongoDB connection test script\n│   └── package.json\n├── package.json           # Root package.json\n└── README.md\n```\n\n## API Endpoints\n\n- `GET /api/polls` - Get all polls\n- `GET /api/polls/:id` - Get a specific poll\n- `POST /api/polls` - Create a new poll\n- `POST /api/polls/:id/vote` - Vote on a poll\n- `DELETE /api/polls/:id` - Delete a poll\n- `GET /api/health` - Health check\n\n## Usage\n\n1. **Create a Poll:**\n   - Click \"Create New Poll\" from the home page\n   - Enter a question\n   - Add at least 2 options (up to 10)\n   - Optionally set an expiration date\n   - Click \"Create Poll\"\n\n2. **Vote on a Poll:**\n   - Click on any poll card to view details\n   - Select an option\n   - Click \"Submit Vote\"\n   - View results immediately\n\n3. **View Results:**\n   - Results show vote counts and percentages\n   - Visual bar charts display vote distribution\n   - Results are sorted by vote count\n\n## Environment Variables\n\nCreate a `.env` file in the `server` directory:\n```\nPORT=5000\nMONGO_URI=mongodb+srv://username:password@cluster.mongodb.net/pollSystemDB?retryWrites=true\u0026w=majority\nJWT_SECRET=your_secret_key_here\n```\n\n\n## Running the Application\n\n1. The apps will be available at:\n   ```\n   http://localhost:3000/\n   ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevradheee%2Fintervue-polling-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevradheee%2Fintervue-polling-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevradheee%2Fintervue-polling-system/lists"}