Skip to content

kade-d/BusShuttleAPI

 
 

Repository files navigation

Shuttle Bus API

Forked from: https://github.com/hergin/BusShuttleAPI

*Rewrote the Original API with Laravel.
*Changed routes to fulfill REST requirements.
*Added most endpoints.
*Added authorization tokens

NOTE

The users table in the database was renamed to drivers, for now just change the name in PHPMyAdmin.

To Build

For XAMPP

  1. You may need to use the file in this repository at /database/database_config.sql to create the database tables for you. You can import this file into phpMyAdmin NOT TESTED.
  2. Clone repository to xampp/htdocs folder.
  3. Run composer install in project directory. Get composer → https://getcomposer.org/download/
  4. Run composer update.
  5. You can now start the apache server. API endpoints are located in http://localhost/BusShuttleAPI/public/api

Endpoints

All endpoints now require an access token. See DOCUMENTATION.md for instructions to get a token.

Drivers

Buses

Inspection Items

Loops

Stops

Documentation

See DOCUMENTATION.md if you are accessing the API.

Packages

No packages published

Languages

  • PHP 100.0%