-
Search flights by source/destination location ex:
from: Sydney, Australia to: New York, United States
-
Multiple airports in source location is supported ex:
from: Milan, Italy to: Sydney, Australia will check in MXP and LIN airports
-
Parallel (async) search in all available airlines and in all location airports
-
Search for multiple dates. Current date is taken into account
-
Location autocomplete
-
Date picker
-
Add more orders and filters - js/flightsResult.js:40
-
Cache locations, as in general locations will not be changed so often, I recommend to cache it for at least 6 hours - models/locations.js:5
-
return multiple missing fields at a time (Error handle) - routes/api.js:40
-
cache airlines for at least 6 hours, will help a lot in performance, even cache for 10 min will help - routes/api.js:51
-
support for multiple "destination airports" as there are many cities with multiple airports - providers/flight.js:26
-
error handle for flight_search api endpoint - providers/flight.js:48
-
validate date if it is in the past
-
improve design