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

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:JavaScript 92.1%Language:HTML 4.0%Language:SCSS 4.0%