Skip to content

akinyeleolat/politico

Repository files navigation

Build Status Coverage Status Maintainability Test Coverage

Politico

Description

Politico is an online voting app which enables citizens give their mandate to politicians running for different government offices while building trust in the process through transparency.

Table of Contents

Technologies

Currently,

  • HyperText Mark-up Language (HTML)
  • Cascade Style Sheet (CSS)
  • Vanilla Javascript
  • PostgreSQL Database(raw SQL):
  • Nodejs (Express framework)

Pivotal Tracker

Politico app project is broken down into small task with pivotal tracker board. The link to the relevant Pivoltal tracker board is (https://www.pivotaltracker.com/projects/2240024)

UI Templates

The application is hosted online on gh-pages with [ Politico ] (https://akinyeleolat.github.io/politico/UI/) LOGIN TO DEMO ADMIN

LOGIN TO DEMO POLITICIAN LOGIN TO DEMO USER

API Documentation

The API documentation can be seen on [ Politico ] (https://ngpolitico.herokuapp.com/api-docs)

Features

Currently,

  • Users Sign up
  • Users Sign 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 election
    Optional Features
  • User can reset password.
  • A politician can create a petition against a concluded political office election.

Getting Started

Installation

install POSTMAN app run npm run start then navigate to localhost:3000 on POSTMAN

API Endpoint Route

Currently,

HTTP VERB ENDPOINT TASK
POST api/v1/parties/ Create A Political Party
POST api/v1/offices/ Create A Political Office
PATCH api/v1/parties/partyId Edit a specific political party
DELETE api/v1/parties/partyId Delete a specific political party
GET api/v1/parties/ Get all political party
GET api/v1/parties/partyId Get specific political party
GET api/v1/offices Get all political office
GET api/v1/offices/officeId Get specific political office

Author

Akinyele Oluwatosin

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published