{"id":23028608,"url":"https://github.com/chaima347/election-app-backend","last_synced_at":"2026-04-08T16:02:20.500Z","repository":{"id":266815144,"uuid":"899304664","full_name":"chaima347/Election-App-Backend","owner":"chaima347","description":"Backend for Election Management App This repository contains the backend implementation of an Election Management System. Built with Node.js, Express, and MongoDB, this backend provides robust APIs to handle all functionalities of the election app","archived":false,"fork":false,"pushed_at":"2024-12-06T09:18:06.000Z","size":4964,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T08:37:05.986Z","etag":null,"topics":["api-client","express","jwt","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaima347.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-12-06T02:05:25.000Z","updated_at":"2024-12-06T09:40:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"6acb9ded-22de-4dab-a525-6162d5787075","html_url":"https://github.com/chaima347/Election-App-Backend","commit_stats":null,"previous_names":["chaima347/election-app-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chaima347/Election-App-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaima347%2FElection-App-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaima347%2FElection-App-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaima347%2FElection-App-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaima347%2FElection-App-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaima347","download_url":"https://codeload.github.com/chaima347/Election-App-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaima347%2FElection-App-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","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":["api-client","express","jwt","mongodb","nodejs"],"created_at":"2024-12-15T14:11:50.052Z","updated_at":"2026-04-08T16:02:20.484Z","avatar_url":"https://github.com/chaima347.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Election Management App Backend\n\nThis repository contains the backend implementation of an **Election Management System**. Built with **Node.js**, **Express**, and **MongoDB**, this backend provides robust APIs to handle all functionalities required for the election app.\n\n## Features\n\n- **User Management**\n  - User registration and authentication using **JWT**.\n  - Role-based access control for admins, candidates, and voters.\n  \n- **Candidate Management**\n  - Add, edit, and delete candidate profiles.\n  - Fetch candidate information and details.\n\n- **Voting System**\n  - Secure voting system ensuring one vote per user.\n  - Real-time vote counting and results display.\n\n- **Interactive Features**\n  - Comments, favorites, and search functionalities.\n\n## Technologies Used\n\n- **Node.js**: For server-side JavaScript execution.\n- **Express**: A lightweight web application framework.\n- **MongoDB**: NoSQL database for efficient data storage.\n- **JWT**: Secure authentication and authorization.\n\n## API Endpoints\n\n| Method | Endpoint                  | Description                        |\n|--------|---------------------------|------------------------------------|\n| POST   | `/api/auth/register`      | Register a new user               |\n| POST   | `/api/auth/login`         | Login a user                      |\n| GET    | `/api/candidates`         | Get all candidates                |\n| POST   | `/api/vote`               | Submit a vote                     |\n| GET    | `/api/results`            | Fetch real-time election results  |\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\nThanks to all contributors and the open-source community for inspiring this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaima347%2Felection-app-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaima347%2Felection-app-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaima347%2Felection-app-backend/lists"}