All Projects → aligorithm → allnigeria-api

aligorithm / allnigeria-api

Licence: MIT license
This API provides needed structured national data for use by developers starting with Nigerian States, LGAs, Wards and Polling Units

Programming Languages

PHP
23972 projects - #3 most used programming language
stylus
462 projects
Blade
752 projects

Projects that are alternatives of or similar to allnigeria-api

govote-app
Simple Preact app to help people find locations to get PVCs and Vote in the upcoming Nigeria General Elections. It's built on the govote-api API.
Stars: ✭ 34 (-5.56%)
Mutual labels:  nigeria-general-elections

allnigeria-api

This API aims to provide needed structured national data for use by developers

This API aims to provide needed structured national data for use by developers and other individuals or organisations. For now, data available includes all states, LGAs, Wards and Polling units correctly structured with the hierarchy. Feel free to use or contribute. Data is also provided as .sql or JSON:

JSON download

SQL download

How to use

Consume the api

https://allnigeria-api.herokuapp.com

Setup

  • Run composer install
  • Set DB_DATABASE to the name of your SQLite database file (which should be located in the database directory)
  • Run php artisan migrate:fresh --seed to load the data
  • Run php artisan serve to start the development server

You can download the SQL file here

Contact Info

If you have any other enquiries or you just want to link up, follow me on twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].