Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1005 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 1005 Bytes

govote-api

Simple Node.js API to help people find locations to get PVCs and Vote in the upcoming Nigeria General Elections.

Requirements

To run locally, you would need the following installed:

  1. MySQL
  2. Node.js and NPM

Getting Started

  1. Install required dependencies - npm install
  2. Copy .env.example to .env. Remember to edit in your own credentials - cp .env.example .env.
  3. Run migrations with knex - node_modules/.bin/knex migrate:latest
  4. Seed database - node_modules/.bin/knex seed:run
  5. Start server - node app.js or nodemon app.js

Todo

Contributing

The #1 contribution you could make is to share, and tell people about govote.

View the Contribution Guide for how to contribute.