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.
- Laravel as the mvc framework that this api is based on
- MySQL that database used for local and RDS
- Elastic BeanStalk and RDS used for public deployment on aws
- Visual Studio Code
- Download Code
- Navigate into root of project using the terminal.
- Create a local MySQL DB called
tripbuilder
with terminal or with MySQL workbench. - Run
php artisan migrate
this will create the tables. - Locate the file called
airport.sql
and run it on the database you created earlier this will populate a list of airports. - Run
php artisan db:seed
this will populate information for the flights tables. - Run
php artisan serve
this will start the application.