This application implements airport and city name autocomplete box powered by the Amadeus Airport & City Search API. The solution itself will be comprised of a simple Node.js and Express backend that connects to the Amadeus API, and a small React app that talks to a Node/Express backend and uses it to obtain the airport name data from Amadeus.
This demo application has been written for the blog post Airport & City Search using the MERN Stack.
- Create a new
server/.env
file and add yourclient_id
andclient_secret
credentials as follows:
CLIENT_ID=foo
CLIENT_SECRET=bar
- Start the server:
cd server && npm start
- Start the client:
cd client && npm start
This library is released under the MIT License.
You can find us on StackOverflow or join our developer community on Discord.