The app lets you input up to six origin airport cities and search for common destinations served by direct flights.
- Node + Express
- React
- Leaflet.js
- Amadeus for Developers API
Get a free account from Amadeus for Developers and create a Self-Service app to get your API key and API secret.
- Fork and clone the repo
- Install npm packages with
npm install
- Add a
.env
file in the/server
folder with your Amadeus API keys and secrets
# AMADEUS API
CLIENT_ID=
CLIENT_SECRET=
- To start the server run
npm start
from the/server
folder - To launch the application in browser run
npm start
from the/client
folder
- Add airport search from API to ensure most recent data
- Update geo location search to ensure all common destination cities are shown on the map (currently full list in text format at the bottom of the page but not all show up on the map)
- Implement input validation
- Improve error handling
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
- Cover photo by Ian Schneider on Unsplash
- airports.json as a starting point for airport search dropdown
- NationsOnline for IATA city code references