Points of Interest Finder is a sample React application that demonstrates using the Points of Interest API by Amadeus.
- Make sure you have Node installed on your system. If you don't already have a Node installation, please download and install the latest Node LTS release.
- Clone this repository and open your local copy in a code editor.
- Inside the
src
directory, create a new file calledcredentials.json
and paste in the following code:{ "amadeus": { "key": "YOUR_API_KEY", "secret": "YOUR_API_SECRET" } }
- Register with Amadeus for Developers to get access to Amadeus for Developers Self-Service APIs.
- In your Amadeus for Developers self-service workspace, create a new app.
- Get your Amadeus app's actual API key and API secret and paste them into
credentials.json
instead ofYOUR_API KEY
andYOUR_API_SECRET
. - At the root of the project, install dependencies by running
npm install
. - Start the application by running
npm start
. The application will open athttp://localhost:3000/
in your default browser.