Make sure you have Node.js installed.
git clone https://github.com/rkrajukhunt/bookaway-nodejs-technical-task.git # or clone your own fork
cd bookaway-nodejs-technical-task
npm install
node app.js
Output Of Application
Access Token is eyJhbGciOiJ
Number of Stations from Hanoi is **114**
Number of Stations from Sapa is **40**
Found **3** Trips between Hanoi and Sapa
Credit Before booking is **10747.00** USD
Your Booking Id is **BW215210**
Credit After booking is **10723.00** USD