Politico enables citizens to give their mandate to politicians running for different government offices while building trust in the process through transparency.
- 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.
- Any text editor preferably Visual Studio Code
- Git Bash
- Any web browser preferably Google Chrome
- Postman
https://rexben001.github.io/Politico/
https://politico-voting.herokuapp.com/
https://www.pivotaltracker.com/n/projects/2238808
https://politico-voting.herokuapp.com/api-docs
To clone this repository:
- git clone https://github.com/Rexben001/Politico.git
cd /Politico
to move into the project folder
To Log in,
- use
rexben.rb@gmail.com
as your email address and any password of your choice
npm i
to install the npm packagesnpm run start-dev
to start the servernpm test
to run the test files
- 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
- Ajewole Benjamin