GithubHelp home page GithubHelp logo

brain-teaser's Introduction

brain-teaser

This app allows users to search for AirBnb listings based on some search terms as well as distance from a desired location.

Packages needed:

  • nltk
  • sqlite3
    • should already be installed with python
  • SimpleHTTPServer
    • preinstalled on Macs, can be installed on Windows
  • python 3

How to Run

Step 1. Start up the web server

Navigate to the folder that contains the project and the listings_search.html file.

run python app.py

Step 2. Navigate to website

Open your browser and go to http://localhost:9090/listings_search.html

Next Steps

Obviously, it's hard to build everything you want in a short period of time. Here are some next steps I would have taken if I had more time:

  1. write tests at minimum for all the python classes
  2. Make the UI prettier
  3. Do an architecture pass: some of the files are a little long or loosely organized. After doing an MVP like this, it's helpful to do an architecture pass and modify any structures that no longer "spark joy"
  4. Allow the user to input an address and convert that to a lat/lon that can be used in the backend search.
  5. Allow the user to search across more fields (e.g. room type, price, etc)
  6. Allow sorting of table based on user's preferences

brain-teaser's People

Contributors

dependabot[bot] avatar madcode avatar

Watchers

 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.