/Travel-Finder

This a Desktop App made using a JavaScript framework Electron JS. The Travel finder app helps you find different flight details between two airports on a desired date range.

Primary LanguageJavaScript

Instagram logo

Travel Finder

This app provides all flight details for your trip.

🧐 About

This a Desktop App made using a JavaScript framework Electron JS. The Travel finder app helps you find different flight details between airports on a desired date range.

This app takes in departure and arrival details (airports and dates) and shows you the results of all the flights available with price details.

API key need to be provided in the environmental variables.

API_KEY = P-Pl4CowZJRPRUHu......j1zaMEC [YOUR_API_KEY_HERE]

💭 How it works

As soon as the user types a airport or city name dropdown with all the suggestions are shown which is achieved by using an API airport-autocomplete-js .

Tequila Search API is used to get all the airport details, and display as output.

If user inputs invalid details, we get an error message instead output.

      " Bad Input. Please try again... "

🛠 Installing

1. Retrieve the project (if you haven't done so already)

 $ git clone git@github.com:Anish-U/Travel-Finder.git

2.Setup ENV Configurations

  • Go to project folder and create and .env file
  • Setup your configurations related to API_KEY.
  Eg: API_KEY = P-Pl4CowZJRPRUHu......j1zaMEC [YOUR_API_KEY_HERE].

3.Run the following commands

  • Open CLI in the project folder and run.
npm install
  • This will install all the dependencies required for the app.
  • To run the app in development mode
npm run start
  • To build package along with .exe file
npm run build

⛏️ Built Using

  • Electron.js - ElectronJS allows the development of desktop GUI applications using web technologies
  • moment - A JavaScript date library for parsing, validating, manipulating, and formatting dates.
  • node-fetch - node-fetch is a light-weight module that brings window.fetch to Node.js
  • dotenv - Dotenv loads environment variables from a .env file into process.env
  • airport-autocomplete-js - Airport searching/autocompletion for IATA codes
  • Tequila Search API - This API allows you to search for one-way or return type of itineraries.