{"id":31105871,"url":"https://github.com/ogwurujohnson/politico","last_synced_at":"2025-10-20T02:49:23.404Z","repository":{"id":42357187,"uuid":"166211805","full_name":"ogwurujohnson/Politico","owner":"ogwurujohnson","description":"🔥🔥🔥 Politico enables citizens give their mandate to politicians running for different government offices while building trust in the process through transparency.","archived":false,"fork":false,"pushed_at":"2022-12-22T10:17:32.000Z","size":1427,"stargazers_count":5,"open_issues_count":19,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2023-03-08T09:20:49.236Z","etag":null,"topics":["babel","eslint","nodejs","voting-application"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ogwurujohnson.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}},"created_at":"2019-01-17T11:05:34.000Z","updated_at":"2022-11-04T13:13:38.000Z","dependencies_parsed_at":"2023-01-30T07:00:43.843Z","dependency_job_id":null,"html_url":"https://github.com/ogwurujohnson/Politico","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ogwurujohnson/Politico","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogwurujohnson%2FPolitico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogwurujohnson%2FPolitico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogwurujohnson%2FPolitico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogwurujohnson%2FPolitico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogwurujohnson","download_url":"https://codeload.github.com/ogwurujohnson/Politico/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogwurujohnson%2FPolitico/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275537140,"owners_count":25482344,"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-09-17T02:00:09.119Z","response_time":84,"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":["babel","eslint","nodejs","voting-application"],"created_at":"2025-09-17T04:46:59.684Z","updated_at":"2025-09-17T04:47:04.979Z","avatar_url":"https://github.com/ogwurujohnson.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/ogwurujohnson/Politico.svg?branch=develop)](https://travis-ci.org/ogwurujohnson/Politico)\n[![Coverage Status](https://coveralls.io/repos/github/ogwurujohnson/Politico/badge.svg?branch=develop)](https://coveralls.io/github/ogwurujohnson/Politico?branch=develop)\n[![Maintainability](https://api.codeclimate.com/v1/badges/ad2335df87681d5065e3/maintainability)](https://codeclimate.com/github/ogwurujohnson/Politico/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/ad2335df87681d5065e3/test_coverage)](https://codeclimate.com/github/ogwurujohnson/Politico/test_coverage)\n\n# Politico\n\nPolitico enables citizens give their mandate to politicians running for different government offices while building trust in the process through transparency.\n\nThe application is hosted at [http://ogwurujohnson.github.io/Politico/UI/](http://ogwurujohnson.github.io/Politico/UI/)\n\n## Application Features\n\nThe Application Programming Interface(API) and fully hosted application implements the following features for different users correspondingly.\n\n##### Unauthenticated Users\n- View the landing page\n- View the all party page\n- View all office page\n- View Election Result page\n- Register in the application\n- Sign into the application\n\n##### Authenticated Users\n- Vie single office\n- Vote Candidate\n- View user profile\n- Log out of the application\n\n##### Admin Users\n- Create Office\n- Create Party\n- Register Candidate\n- Delete Party\n- Delete a office\n\n\n## Built With\n\n* [Node js – A JavaScript runtime built on Chrome's V8 JavaScript engine ](https://nodejs.org/en/)\n* [Express Js – Fast, minimalistic web framework for Node.js ](https://expressjs.com)\n* [Postgresql – An open source database ](https://www.postgresql.org/)\n\n## API\nThe API can be found, hosted here [https://better-politico.herokuapp.com/api/v1](https://better-politico.herokuapp.com/api/v1)\n\n## API Documentation\n\nThe application server-side API documentation can be found in [http://better-politico.herokuapp.com/api/v1/api-doc](http://better-politico.herokuapp.com/api/v1/api-doc)\n\n## Project Management\n\nDevelopment of the Politico application is managed with Pivotal Tracker, here [https://pivotaltracker.com/n/projects/2238975](https://pivotaltracker.com/n/projects/2238975)\n\n## Getting Started\n\nThese instructions will get the politico application up and running on your local machine for development and testing purposes. See installation for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nThe following applications are required to have politico up and running on your system.\n\n```\nNode 5+ – (Version 5 and above)\n```\n```\nEditor – Sublime Text, Visual Studio Code or others\n```\n```\nPostgres database manager – PgAdmin, Elephant SQL\n```\n\n### Installing the application\n\nTake the following steps to get a development environment of Politico application running on you machine or server\n\nClone Politico application\n\nOn the root folder of the cloned application, add a .env file with required credentials following the .sample-env file pattern. This should contain the following\n\n```\nPORT = \nPOSTGRES_DB_DEV = \nPOSTGRES_DB_TEST = \nPOSTGRES_USER  = \nPOSTGRES_PASSWORD = \nPOSTGRES_PORT = \nPOSTGRES_HOST = \nEMAIL = \nEMAIL_PASSWORD = \nTOKEN_SECRET_WORD = \n\nSECRET = \n\nTRAVIS_HOST=\nTRAVIS_USER=\nTRAVIS_DATABASE=\nTRAVIS_PASSWORD=\nELEPHANT_PORT=\n\n```\nNavigate to the root folder of the application\nOn command line, run the following commands\n```javascript\nnpm install\nnpm run start\n```\nTest the individual routes using postman\nEnd with an example of getting some data out of the system or using it for a little demo\n\n### Running the application tests\n\nIn order to run tests cases for the routes, execute the following command\n- Server side test\n```javascript\nnpm run test\n```\n\n## Authors\n\n* **Johnson Ogwuru** - (https://github.com/ogwurujohnson)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogwurujohnson%2Fpolitico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogwurujohnson%2Fpolitico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogwurujohnson%2Fpolitico/lists"}