Skip to content

Repository files navigation

MAP VOTERS API

Map Voters Rest API

Authors

Installation

Install mapvoters with composer

  git clone https://github.com/mikmself/mapvoters.git
  cd mapvoters
  composer install || composer update

rename .env.exampe to .env
setup database

php artisan migrate
php artisan db:seed
php artisan serve

To see hidden route list

php artisan route:list

API Reference

Get all items

  GET /api/items
Parameter Type Description
api_key string Required. Your API key

Get item

  GET /api/items/${id}
Parameter Type Description
'api_key' 'string' Required. Your API key
id string Required. Id of item to fetch

Create item

  POST /api/items
Parameter Type Description
api_key string Required. Your API key

Update item

  PUT /api/items/${id}
Parameter Type Description
api_key string Required. Your API key
id string Required. Id of item to fetch

Delete item

  DELETE /api/items/${id}
Parameter Type Description
api_key string Required. Your API key

License

MIT

Tech Stack

Client: Livewire, Filament Component

Server: Laravel

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages