Skip to content

Project 1 (Modules 7 & 8) - UC Berkeley Extension - Coding Boot Camp: Bootcamp Travel

Notifications You must be signed in to change notification settings

ahmadelgamal/BootCamp-Travel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BootCamp Travel

GitHub repo size GitHub code size GitHub language count GitHub top language

GitHub last commit GitHub closed pull requests GitHub open pull requests GitHub closed issues GitHub open issues

GitHub stars GitHub forks GitHub watchers GitHub followers

GitHub version License: MIT

Description

Do you travel? If yes, and you want to compare prices for airfare and lodging to make a more informed decision when you are ready to pay, then BootCamp Travel can help you search, save favorites, and retreive them as needed!

Table of Contents

Heroku Deployment URL

https://bootcamp-travel.herokuapp.com/

GitHub Repo URL

https://github.com/gtankha/bootcamptravel/

Features

  1. As a frequent traveler, I want to be able to:
    1. get quick quotes for airfare and lodging costs
    2. and save my favorite results
  2. So that I can:
    1. budget for my trip more accurately
    2. and access my favorites list in the future

Version

The main updates from Version 1.0.0 to this current Version 1.1.0 are:

  1. The access token for the Amadeus API, that generates the flight search information, is now dynamically generated, instead of being hardcoded.
  2. The Rapid API key, that generates the hotel search information, has been moved to the backend for better security.
  3. Fixes an error when deleting a favorite flight.
  4. Adds an error message if the internet is disconnected.
  5. Adds an error message if the search form is submitted without being filled up.
  6. Fixes an error when filling the city field in hotel search form.
  7. Adds favicon.
  8. Changes logo to match favicon.

Installation

No installation necessary. Simply visit the website.

Cloning

If you wish to clone this app, you will need to:

  1. Generate your own API credentials for flights, from Amadeus (flight offers search).
  2. Generate your own API Key for hotels, from RapidApi.
  3. For testing on your local machine, there is a sample file in lib/v2-assets named dotenv:
    1. Rename that file to .env.
    2. Move it to the root directory.
    3. Enter your Amadeus API credentials in the corresponding variables.
    4. Enter your Rapid API Key in the corresponding variable.
  4. For production, set the API credentials manually in heroku configurations, or whatever other host you use.

Usage

  1. Fill up the search-form (either hotels or flights)
  2. Hit enter or click the search button
  3. You may sort the results as follows:
    1. For hotels: by price or ratings
    2. For flights: by price, departure time, or arrival time
  4. Scroll through the list of search results
  5. Pick your favorite hotel or flight
  6. Click on the favorite icon to save it to memory
  7. Revisit the website at any time to see your favorite items, or make new searches!
  8. To delete a favorite from the favorites list, simply click on remove

Demo

Flights Search

Flights Search Gif Animation

Hotel Search

Hotel Search Gif Animation

Technologies Used

  1. HTML5
  2. CSS3
  3. Javascript
  4. JSON
  5. AJAX
  6. jQuery
  7. UI Kit (CSS Framework)
  8. Node.js
  9. Express.js
  10. Heroku

Credits

Collaborators

Bootcamp Travel is group 7's project 1 at the University of California, Berkeley, extension, blended-online full-stack web-development part-time bootcamp. The group is:

Name GitHub Page Main Responsibilities Main Files
Gautam Tankha https://github.com/gtankha Project Manager & Hotel search hotel.js
Marco Evangelista https://github.com/marcobjj User Interface (Structure & Styling) index.html, style.css, & script.js
Ahmad El Gamal https://github.com/ahmadelgamal Flights search, routing & deployment flights.js & server.js

Roadmap

  1. Perform flight fetch requests on the backend to hide the Amadeus access token.
  2. Perform hotel fetch requests on the backend to hide the Rapid API Key.
  3. Use the same error messages for flights and hotels search.

Questions

For questions and / or comments, please contact any of the developers listed in the Collaborators section above.

License

This project is licensed under the terms of the MIT license.

About

Project 1 (Modules 7 & 8) - UC Berkeley Extension - Coding Boot Camp: Bootcamp Travel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.3%
  • Other 0.7%