Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.2 KB

File metadata and controls

37 lines (23 loc) · 1.2 KB

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.