/TripBuilder

Travel Group Coding Test

Primary LanguagePHP

Trip Builder API

This was a coding test from Momentum Ventures, it is a simple api where users can search for airports and flights and add trips to there catalog.

Technologies used


Running the API

Locally

Using Artisan

  1. Download Code
  2. Navigate into root of project using the terminal.
  3. Create a local MySQL DB called tripbuilder with terminal or with MySQL workbench.
  4. Run php artisan migrate this will create the tables.
  5. Locate the file called airport.sql and run it on the database you created earlier this will populate a list of airports.
  6. Run php artisan db:seed this will populate information for the flights tables.
  7. Run php artisan serve this will start the application.