This app allows users to search for AirBnb listings based on some search terms as well as distance from a desired location.
- nltk
- sqlite3
- should already be installed with python
- SimpleHTTPServer
- preinstalled on Macs, can be installed on Windows
- python 3
Navigate to the folder that contains the project and the listings_search.html file.
run python app.py
Open your browser and go to http://localhost:9090/listings_search.html
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:
- write tests at minimum for all the python classes
- Make the UI prettier
- 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"
- Allow the user to input an address and convert that to a lat/lon that can be used in the backend search.
- Allow the user to search across more fields (e.g. room type, price, etc)
- Allow sorting of table based on user's preferences