airport booking
- Clone repo into your github
- Use https://expressjs.com/
- Use this library to connect to mysql https://sequelize.org/
- Integrate the following api into this project
https://www.weatherapi.com/pricing.aspx
https://github.com/stripe/stripe-php
-
Create your own airport api to retrieve from the autocomplete below. We have given you an airport.csv to use to get the data fields.
-
Use bootstrap 4 for ui
-
Make the following page by end of day, no exceptions:
- Make a main page where we we call an api to get current weather in your country and display it on frontend (degree, the type of weather, humidity)
- Make an 2 autocomplete dropdown where we call airport api where we filter by country and show the airports in the dropdown
- Calculate the distance between the 2 airports using the lat and lng and multiple it by $10. Make a stripe form to ask user to pay that amount. Payment must be processed.
- Save the order placed into an order database table (id, from_airport, from_country, to_airport, to_country, total, stripe_id, status(paid, failed))
- Create thank you page showing their order in a table