{"id":25943554,"url":"https://github.com/shreyapramanik47/voting-application","last_synced_at":"2026-04-09T17:04:17.886Z","repository":{"id":280296135,"uuid":"862531667","full_name":"ShreyaPramanik47/Voting-Application","owner":"ShreyaPramanik47","description":"This is a backend application for a voting system where users can vote for candidates. It provides functionalities for user authentication, candidate management, and voting.","archived":false,"fork":false,"pushed_at":"2025-03-02T14:56:58.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T07:34:07.431Z","etag":null,"topics":["atlas","backend","expressjs","mongodb","mongoose","nodejs","postman-api"],"latest_commit_sha":null,"homepage":"","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/ShreyaPramanik47.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}},"created_at":"2024-09-24T18:53:50.000Z","updated_at":"2025-03-02T14:57:02.000Z","dependencies_parsed_at":"2025-03-02T15:44:21.805Z","dependency_job_id":null,"html_url":"https://github.com/ShreyaPramanik47/Voting-Application","commit_stats":null,"previous_names":["shreyapramanik47/voting-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ShreyaPramanik47/Voting-Application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShreyaPramanik47%2FVoting-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShreyaPramanik47%2FVoting-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShreyaPramanik47%2FVoting-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShreyaPramanik47%2FVoting-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShreyaPramanik47","download_url":"https://codeload.github.com/ShreyaPramanik47/Voting-Application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShreyaPramanik47%2FVoting-Application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006622,"owners_count":26084131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["atlas","backend","expressjs","mongodb","mongoose","nodejs","postman-api"],"created_at":"2025-03-04T07:17:34.719Z","updated_at":"2025-10-11T07:34:08.324Z","avatar_url":"https://github.com/ShreyaPramanik47.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eVoting Application\u003c/h1\u003e\nThis is a backend application for a voting system where users can vote for candidates. It provides functionalities for user authentication, candidate management, and voting.\n\n\u003ch2\u003eFeatures\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eUser sign up and login with Aadhar Card Number and password\u003c/li\u003e\n  \u003cli\u003eUser can view the list of candidates\u003c/li\u003e\n  \u003cli\u003eUser can vote for a candidate (only once)\u003c/li\u003e\n  \u003cli\u003eUser can vote for a candidate (only once)\u003c/li\u003e\n  \u003cli\u003eAdmin cannot vote\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eTechnologies Used\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eNode.js\u003c/li\u003e\n  \u003cli\u003eExpress.js\u003c/li\u003e\n  \u003cli\u003eMongoDB\u003c/li\u003e\n  \u003cli\u003ePostman\u003c/li\u003e\n  \u003cli\u003eAtlas\u003c/li\u003e\n  \u003cli\u003eJSON Web Tokens (JWT) for authentication\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch1\u003eAPI Endpoints\u003c/h1\u003e\n\n## Authentication\n\n### Sign Up\n- `POST /signup`: Sign up a user\n\n### Login\n- `POST /login`: Login a user\n\n## Candidates\n\n### Get Candidates\n- `GET /candidates`: Get the list of candidates\n\n### Add Candidate\n- `POST /candidates`: Add a new candidate (Admin only)\n\n### Update Candidate\n- `PUT /candidates/:id`: Update a candidate by ID (Admin only)\n\n### Delete Candidate\n- `DELETE /candidates/:id`: Delete a candidate by ID (Admin only)\n\n## Voting\n\n### Get Vote Count\n- `GET /candidates/vote/count`: Get the count of votes for each candidate\n\n### Vote for Candidate\n- `POST /candidates/vote/:id`: Vote for a candidate (User only)\n\n## User Profile\n\n### Get Profile\n- `GET /users/profile`: Get user profile information\n\n### Change Password\n- `PUT /users/profile/password`: Change user password\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreyapramanik47%2Fvoting-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshreyapramanik47%2Fvoting-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreyapramanik47%2Fvoting-application/lists"}