Skip to content
Simple Node.js API to help people find locations to get PVCs and Vote in the upcoming Nigeria General Elections.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers
db
middleware
models
services
.env.example
.eslintrc.js
.gitignore
CONTRIBUTING.md
LICENSE
README.md
app.js
knexfile.js
package-lock.json
package.json

README.md

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.

You can’t perform that action at this time.