This app should calculate the distance between two United States airports in nautical miles, using auto-complete for the airport fields. All United States Airports should be searchable by name or 3 digit code. Bonus: plot the flying (not driving) route on Google maps, the map should display the United States, not the entire earth. Note: please choose the API you think best fits your solution, only United States airports should be included.
- React with Typescript
- Material UI
- React Google Map
- Free Airlabs API
- Create a .env file in the root.
- Add REACT_APP_AIRLABS_API_KEY and REACT_APP_GOOGLEMAP_API_KEY
- Run
yarn install
if you use yarn ornpm install
. - Run
yarn start
to launch the app which will automatically launch the app in the browseror, ornpm run start
.