Skip to content

Node.js and Vue application demonstrating the Amadeus Self-Service flight booking APIs

License

Notifications You must be signed in to change notification settings

amadeus4dev-examples/amadeus-flight-booking-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight booking app using Node and Vue

This repository contains the source code for the blog article Flight booking app using Node and Vue. The article is split into two different parts:

Running the code (with docker-compose)

For authentication add your API key/secret to your environmental variables.

export AMADEUS_CLIENT_ID=YOUR_API_KEY
export AMADEUS_CLIENT_SECRET=YOUR_API_SECRET

Build your Docker images

docker-compose build

Start your application

docker-compose up

Running the code (no Docker)

For authentication add your API key/secret to your environmental variables.

export AMADEUS_CLIENT_ID=YOUR_API_KEY
export AMADEUS_CLIENT_SECRET=YOUR_API_SECRET

Install the dependences and start the server:

cd server
npm install
npm start

Install the dependences and start the client:

cd client
npm install
npm run build && npm run serve

License

This library is released under the MIT License.

Help

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