{"id":26755322,"url":"https://github.com/bigyusuf/election","last_synced_at":"2026-04-06T09:32:47.443Z","repository":{"id":53823644,"uuid":"514244881","full_name":"BigYusuf/election","owner":"BigYusuf","description":"This is a RESTFUL API which all elections in Nigeria from 2014 will be compiled and serve through some unique endpoints.","archived":false,"fork":false,"pushed_at":"2023-01-25T11:17:24.000Z","size":587,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T16:22:41.166Z","etag":null,"topics":["api-rest","election","election-api","express","governorship-election","jwt-authentication","mongodb","nigerian-states","nodejs","presidential-election","rapidapi"],"latest_commit_sha":null,"homepage":"https://rapidapi.com/BigYusuf/api/election3","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/BigYusuf.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}},"created_at":"2022-07-15T11:29:05.000Z","updated_at":"2022-09-13T14:22:31.000Z","dependencies_parsed_at":"2023-01-29T18:16:02.248Z","dependency_job_id":null,"html_url":"https://github.com/BigYusuf/election","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BigYusuf/election","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigYusuf%2Felection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigYusuf%2Felection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigYusuf%2Felection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigYusuf%2Felection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BigYusuf","download_url":"https://codeload.github.com/BigYusuf/election/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BigYusuf%2Felection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: 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-rest","election","election-api","express","governorship-election","jwt-authentication","mongodb","nigerian-states","nodejs","presidential-election","rapidapi"],"created_at":"2025-03-28T14:19:49.878Z","updated_at":"2026-04-06T09:32:47.421Z","avatar_url":"https://github.com/BigYusuf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr/\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/BigYusuf/election\"\u003e\n    \u003ch1 align=\"center\"style=\"color:black;\"\u003eElection \u003cspan style=\"color:blue;\"\u003eAPI\u003c/span\u003e\u003c/h1\u003e\n  \u003c/a\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://rapidapi.com/BigYusuf/api/election3\"\u003e\n      \u003cimg src=\"images/logo.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    Nigerian Election API!\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/BigYusuf/election\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://rapidapi.com/BigYusuf/api/election3\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/BigYusuf/election/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/BigYusuf/election/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#features\"\u003eUnique Features\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\n[![RapidAPI Url][product-screenshot]](https://rapidapi.com/BigYusuf/api/election3)\n\nAs always, All My projects are simple and unique. This one is no exception. I have been wanting to build this project for awhile now, especially when I was learning how to use react.js. I remember searching for an election API then and couldn't get one at the time. I picked Nigeria as country simply because, it is my country and the data is easy to use but its not so easy to get the complete election data. Only Admin an alter or delete the election data.\n\nBenefits of this API:\n\n- The API is free, thereby granting unlimited access to Nigerian election data\n- Easy integration to any application\n- Easily accessible to the public through RapidAPI Hub.\n\nFor now, Only admin can login or register a user, the user endpoints isn't accessible to the general public for security reasons.\n\n[![Mobile screen][product-screenshot2]](https://rapidapi.com/BigYusuf/api/election3)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Built With\n\nHere are the list of major frameworks/ libraries used to bootstrap this project\n\n- [Express.js](https://expressjs.org/)\n- [Node.js](https://nodejs.org/)\n- [MongoDB](https://www.mongodb.com/)\n- [JSON Web Token (JWT)](https://jwt.io/)\n- [Axios](https://axios-http.com/docs/intro)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Features\n\n#### Database storage (MongoDB)\n\n[![Sample Database][product-screenshot4]](https://rapidapi.com/BigYusuf/api/election3)\n\n#### Deployed to RapidAPI\n\n[![Mobile][product-screenshot5]](https://rapidapi.com/BigYusuf/api/election3)\n\n#### Authenticated Admin with JWT\n\n[![Mobile][product-screenshot7]](https://rapidapi.com/BigYusuf/api/election3)\n\n#### Cool RestFul Endpoints\n\n[![Mobile][product-screenshot6]](https://rapidapi.com/BigYusuf/api/election3)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Getting Started\n\nTo get a local copy up and running follow these simple example steps.\n\n### Prerequisites\n\nThis is an example of how to list things you need to use the software and how to install them.\n\n- npm\n\n  ```sh\n  npm install npm@latest -g\n  ```\n\n### Installation\n\n_Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services._\n\n1. Clone the repo\n\n   ```sh\n   git clone https://github.com/BigYusuf/election.git\n   ```\n\n2. Install NPM packages\n\n   ```sh\n   npm install\n   ```\n\n3. Enter your KEYS in `.env`\n\n   ```javascript\n   NODE_ENV = \"CHOOSE WHETHER ITS DEVELOPMENT OR PRODUCTION MODE\";\n   PORT = \"ENTER YOUR DESIRED PORT NUMBER\";\n   MONGO_URL = \"ENTER YOUR MPNGODB URL\";\n   JWT_SECRET = \"ENTER YOUR JWT SECRET\";\n   JWT_SECRET = \"ENTER YOUR JWT EXPIRY TIME\";\n   ```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- USAGE EXAMPLES --\u003e\n\n## Usage\n\nUse this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.\n\n_For more examples, please refer to the [Documentation](https://example.com)_\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ROADMAP --\u003e\n\n## Roadmap\n\n- [ ] ...\n- [ ] ...\n- [ ] ...\n\nSee the [open issues](https://github.com/BigYusuf/election/issues) for a full list of proposed features (and known issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b election/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin election/AmazingFeature`)\n5. Open a Pull Request\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTACT --\u003e\n\n## Contact\n\nYusuf Lateef - [Connect via Messenger](http://m.me/Bigyusufff/) - election0000@gmail.com mystik5551@gmail.com\n\nProject Link: [https://github.com/BigYusuf/election](https://github.com/BigYusuf/election)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n\n## Acknowledgments\n\nHere are the list of resources I find helpful and would like to give credit to.\n\n- [INEC Official Website](https://www.youtube.com)\n- [INEC 2019 Presidential Election](https://www.inecnigeria.org/wp-content/uploads/2019/03/02019-GE-PRESIDENTIAL-ELECTION-RESULTS.pdf)\n- [2019 General Election Wikipedia](https://en.wikipedia.org/wiki/2019_Nigerian_general_election)\n- [2019 General Election BBC News](https://www.bbc.co.uk/news/resources/idt-f0b25208-4a1d-4068-a204-940cbe88d1d3)\n- [Best ReadMe Template](https://github.com/othneildrew/Best-README-Template)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n[contributors-shield]: https://img.shields.io/github/contributors/BigYusuf/Best-README-Template.svg?style=for-the-badge\n[contributors-url]: https://github.com/BigYusuf/election/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/BigYusuf/election.svg?style=for-the-badge\n[forks-url]: https://github.com/BigYusuf/election/network/members\n[stars-shield]: https://img.shields.io/github/stars/BigYusuf/election.svg?style=for-the-badge\n[stars-url]: https://github.com/BigYusuf/election/stargazers\n[issues-shield]: https://img.shields.io/github/issues/BigYusuf/election\n[issues-url]: https://github.com/BigYusuf/election/issues\n[license-shield]: https://img.shields.io/github/license/BigYusuf/election.svg?style=for-the-badge\n[license-url]: https://github.com/BigYusuf/election/blob/master/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://linkedin.com/in/bigyusufff\n[product-screenshot]: images/rap3.PNG\n[product-screenshot2]: images/mongodbelection.PNG\n[product-screenshot3]: images/emailsample.png\n[product-screenshot4]: images/mongodbelection.PNG\n[product-screenshot5]: images/mobilemode2.png\n[product-screenshot6]: images/alanstudio.png\n[product-screenshot7]: images/login.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigyusuf%2Felection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigyusuf%2Felection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigyusuf%2Felection/lists"}