Skip to content

DaXian88/flyMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlyMe

The Travel Inpsiration App

With FlyMe users can search for available flights based on their budget, desired location, and trip duration. Our app also provides additional resources to help inspire a destination choice.

FlyMe was created by Ada Cameron, Mustafa Mohammed and Khalid Safy.

Technologies used include: React, Express, Node.js, Axios, HTML & CSS, and Javascript.

Features in progress

  • A budget feature that allows users bundle all their choices and track their budget in real time.
  • Safety ratings (crime and health) for each location.
  • Hotel and activity search functionality

About FlyMe

FlyMe runs from a combined backend and frontend repo.

The frontend was created using Create React App. The backend uses Express.js.

To install FlyMe, clone the repo and install the dependencies:

$ git clone git@github.com:adacameron/travel-app.git
$ cd travel-app && npm i
$ cd frontend && npm i
$ cd .. && cd backend && npm i

Generate your API keys, both available for free:

Amadeus

  • CLIENT_ID
  • CLIENT_SECRET

Pexels

  • API_KEY

In the root of the backend folder, create a .env file and save your keys as environment variables:

e.g:

CLIENT_ID=dSaSwke9fDDFRT71YfGHH09KyxcRYmy20

CLIENT_SECRET=KLpkDDLdffwO3k90

API_KEY=563492pd6f9178272727272115f52fjfb57948059d2222d92366cfsd

Run the app in development mode:

$ cd travel-app
$ npm run dev

Flight Router

/nonstop=true/:origin/:location/:departure/:adults/

flightOffersSearch returns specific flights based on:

  • user origin
  • desired destination
  • date of travel
  • number of passengers

/flights/nonstop=true/:origin/:departure/:days/:maxPrice

flightDestinations returns a list of 'inspiration' destinations based on:

  • user origin
  • date of travel
  • duration of trip
  • budget

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published