Skip to content

This is a RESTFUL API which all elections in Nigeria from 2014 will be compiled and serve through some unique endpoints.

Notifications You must be signed in to change notification settings

BigYusuf/election

Repository files navigation


Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

RapidAPI Url

As always, All My projects are simple and unique. This one is no exception. I have been wanting to build this project for awhile now, especially when I was learning how to use react.js. I remember searching for an election API then and couldn't get one at the time. I picked Nigeria as country simply because, it is my country and the data is easy to use but its not so easy to get the complete election data. Only Admin an alter or delete the election data.

Benefits of this API:

  • The API is free, thereby granting unlimited access to Nigerian election data
  • Easy integration to any application
  • Easily accessible to the public through RapidAPI Hub.

For now, Only admin can login or register a user, the user endpoints isn't accessible to the general public for security reasons.

Mobile screen

(back to top)

Built With

Here are the list of major frameworks/ libraries used to bootstrap this project

(back to top)

Features

Database storage (MongoDB)

Sample Database

Deployed to RapidAPI

Mobile

Authenticated Admin with JWT

Mobile

Cool RestFul Endpoints

Mobile

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm

    npm install npm@latest -g

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Clone the repo

    git clone https://github.com/BigYusuf/election.git
  2. Install NPM packages

    npm install
  3. Enter your KEYS in .env

    NODE_ENV = "CHOOSE WHETHER ITS DEVELOPMENT OR PRODUCTION MODE";
    PORT = "ENTER YOUR DESIRED PORT NUMBER";
    MONGO_URL = "ENTER YOUR MPNGODB URL";
    JWT_SECRET = "ENTER YOUR JWT SECRET";
    JWT_SECRET = "ENTER YOUR JWT EXPIRY TIME";

(back to top)

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

For more examples, please refer to the Documentation

(back to top)

Roadmap

  • ...
  • ...
  • ...

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b election/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin election/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Yusuf Lateef - Connect via Messenger - election0000@gmail.com mystik5551@gmail.com

Project Link: https://github.com/BigYusuf/election

(back to top)

Acknowledgments

Here are the list of resources I find helpful and would like to give credit to.

(back to top)

Releases

No releases published

Packages

No packages published