Politico enables citizens give their mandate to politicians running for different government offices while building trust in the process through transparency.
- HTML
- CSS
- Javascript
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 |
*Javascript*
*NodeJS* (run time Environment for running JS codes)
*Express* (used for building fast APIs)
*Mocha* and *Chai*
*Airbnb*
Travis CI
nyc
coveralls
Heroku
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.
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.
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.
> npm start
> npm test
Version 1.0.0
- Fridolin NIYONSABA [email protected]
Copyright (c) 2019 Fridolin Niyonsaba, Full-Stack developer