Skip to content

Politico enables citizens give their mandate to politicians running for different government offices while building trust in the process through transparency.

License

Notifications You must be signed in to change notification settings

Rexben001/Politico

Repository files navigation

Build Status Coverage Status Maintainability Test Coverage

Politico

Politico enables citizens to give their mandate to politicians running for different government offices while building trust in the process through transparency.

Feature

  • There are two types of Users, the Admin and the regular User.
  • Users can sign up.
  • Users can log in.
  • Admin (electoral body) can create political parties.
  • Admin (electoral body) can delete a political party.
  • Admin (electoral body) can create different political offices
  • Users can vote for only one politician per political office.
  • Users can see the results of an election.
  • User can reset a password.
  • A politician can create a petition against a concluded political office election.

Technology needed to run the project locally

  • Any text editor preferably Visual Studio Code
  • Git Bash
  • Any web browser preferably Google Chrome
  • Postman

Link to GitHub pages

https://rexben001.github.io/Politico/

Link to App on Heroku

https://politico-voting.herokuapp.com/

Link to Pivotal Tracker Board

https://www.pivotaltracker.com/n/projects/2238808

Link to API documentation

https://politico-voting.herokuapp.com/api-docs

How to Clone project

To clone this repository:

How test GitHub pages

To Log in,

  • use rexben.rb@gmail.com as your email address and any password of your choice

How to test the API endpoints

  • npm i to install the npm packages
  • npm run start-dev to start the server
  • npm test to run the test files

List of API Endpoints

  • POST /parties
  • GET /parties
  • GET /parties/:party_id
  • PATCH /parties/:party_id/name
  • DELETE /parties/:party_id
  • POST /offices
  • GET /offices
  • GET /offices/:office_id

Author

  • Ajewole Benjamin

About

Politico enables citizens give their mandate to politicians running for different government offices while building trust in the process through transparency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published