amadeus4dev-examples / amadeus-flight-booking-node

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

Home Page:https://developers.amadeus.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://developers.amadeus.com

License:MIT License


Languages

Language:Vue 39.0%Language:SCSS 33.6%Language:HTML 18.3%Language:JavaScript 8.8%Language:Dockerfile 0.3%