Git Product home page Git Product logo

hackbright-project's Introduction

I'm Feeling Lucky

I’m Feeling Lucky is a trip generator that searches for the most affordable flights and Airbnb listings for users.

This app provides information regarding cheap flight options and affordable Airbnb listings based on users entered criteria. I’m Feeling Lucky enables users to set default departure airports, search trips, save trips for later, view or delete saved trips, and view photos of the destinations. I’m Feeling Lucky is great for people who love and want to travel with affordable price. Planning trips is never easier!

YouTube DEMO

##Contents

Features

User login/register page

Landing pages

User homepage - Search a new trip or view previous saved trips

Homepage

Search Result - A destination, A flight, and an Airbnb information for the trip

Result page

City Gallery - get a glimpse of the City

View City

Installing

Clone this repo:

https://github.com/christychen126/Hackbright-project

Create virtual environment on your laptop, inside a directory:

virtualenv env
source env/bin/activate

Install the requirements:

pip install -r requirements.txt

Get secret keys for Google Flights API, Google Maps API and Airbnb API, and save it to secrets.sh:

export QPX_KEY= "Your Key Goes Here"
export Airbnb_KEY= "Your Key Goes Here"
export Google_maps_KEY= "Your Key Goes Here"

Set up your database and seed city images:

python model.py
python seed.py

Start running your server:

python server.py

Open up your browser and navigate to:

 'localhost:5000/'

Have a nice trip! ✈️

Built With

Backend

Python, Flask, SQLAlchemy, PostgreSQL

Frontend

JavaScript, HTML, CSS, jQuery, AJAX, Jinja2

APIs

Google Flights API, Google Maps API, The Unofficial Airbnb API

Version 2.0 Coming Up

  • User Preferences: Allow users to add preferred airlines, cabins, flght stops
  • City Guide: Add city information, attractions, and tours.
  • Password hashing: Passwords will be hashed before being saved in DB
  • Book Flight Link: Direct users to airline websites
  • City Filter: Allow users to filter city by city features and activities

hackbright-project's People

Contributors

christyycchen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.