Skip to content

Demo app which implementes Airport & City Search API autocompletion using a MERN stack

License

Notifications You must be signed in to change notification settings

amadeus4dev-examples/amadeus-airport-city-search-mern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airport & City Search Autocomplete example using the MERN stack

What is this?

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.

Running the code

  1. Create a new server/.env file and add your client_id and client_secret credentials as follows:
CLIENT_ID=foo
CLIENT_SECRET=bar
  1. Start the server:
cd server && npm start
  1. Start the client:
cd client && npm start

License

This library is released under the MIT License.

Help

You can find us on StackOverflow or join our developer community on Discord.