Skip to content

lawrencemuema/politico_p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://lawrencemuema.github.io/politico_p/ui

an immersive online voting platform andela pre bootcamp challenge

Code Status

Build Status Coverage Status Maintainability

api End points

Method Endpoint Usage
PARTY . .
POST /api/v1/party Create a party.
GET /api/v1/party Get all parties.
GET /api/v1/party/<p_id> Get specific party.
PUT /api/v1/party/<p_id> edit a party.
DELETE /api/v1/party/<p_id> Delete a specific party.
. . .
OFFICE ------
POST /api/v1/office Create a office.
GET /api/v1/office Get all offices.
GET /api/v1/office/<o_id> Get specific office.
. . .
USERS ------
POST /api/v1/signup register user.
GET /api/v1/signin user login.
. . .
CANDIDATES ------
POST /api/v1/apply Apply for office.
GET /api/v1/apply view all candidates.
GET /api/v1/apply/<c_id> view specific candidates by their id.
. . .
VOTES ------
POST /api/v1/vote proces voting.
GET /api/v1/vote get all votes cast.
GET /api/v1/vote/<v_id> get all votes cast by specific voter.
GET /api/v1/vote/<candidate_name> get all votes cast to a specific candidate.

Installation

Clone the Github repository and use pip to install the dependencies

  1. git clone https://github.com/lawrencemuema/politico_p.git
  2. cd/politico_p
  3. venv\scripts\activate
  4. pip install -r requirements.txt

About

andela pre bootcamp challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published