Laravel 5.5 API that integrate with Swagger with React.js frontend
# Install Dependencies
composer install
# Run Migrations
php artisan migrate
# Create some dummy data
php artisan db:seed
# If you get an error about an encryption key
php artisan key:generate
# Install JS Dependencies
npm install
# Generate swagger doc
php artisan l5-swagger:generate
# Watch Files
npm run watch
api/documentation
GET api/airports
(optional)order/query
GET api/trips
GET api/trip/{id}
GET api/trip/{id}/flights
POST api/trip/{id}/flight
from/header
to/header
DELETE api/trip/{id}/{referenceID}