Code Monkey home page Code Monkey logo

politico's Introduction

Politico Build Status Coverage Status Maintainability Test Coverage

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

User Interface (UI)

  • HTML
  • CSS
  • Javascript

UI Link Example

POLITICO link

API ENDPOINTS

SWAGGER DOCUMENTATION

SWAGGER link

Ressource URL Methods Description
/ GET The index (welcome message)
/api/v1/offices POST Post to the collection of offices
/api/v1/offices GET Fetch all existing offices
/api/v1/offices/:id GET Fetch a specific office
/api/v1/parties POST Post a political party to the collections political parties
/api/v1/parties/ GET Fetch all existing parties
/api/v1/parties/:id GET Fetch a specific party
/api/v1/parties/:id PATCH Update a specific party
/api/v1/parties/:id DELETE Delete a specific party

Tools Used

Language

*Javascript*

Server Environment

 *NodeJS* (run time Environment for running JS codes)

Framework

 *Express* (used for building fast APIs)

Testing Framework

 *Mocha* and *Chai*

Style Guide

*Airbnb*

Continuous Integration

Travis CI

Test Coverage

nyc

Git badge

coveralls

Deployment

Heroku

APP link Example

heroku link

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To install the software on your local machine, you need first to clone the repository or download the zip file and once this is set up you are going to need this packages. [NodeJS]

 [Node Package Installer - NPM] this usually comes with Node or YARN in case NPM doesn't work.

Installing

The installation of this application is fairly straightforward, After cloning this repository to your local machine,CD into the package folder using your terminal and run the following

> npm install

It will install the node_modules which will help you run the project on your local machine.

Run the server

> npm start

Run the test

> npm test

Version 1.0.0

Contributor


License & copyright

Copyright (c) 2019 Fridolin Niyonsaba, Full-Stack developer

politico's People

Contributors

fridolinho avatar

Watchers

James Cloos avatar Shakira Ndagire Seruwagi avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.