This is a simple webapp that uses the google api to find latititudes and longtudes of a place then uses the four square api to find a salon given a need. for example a user can say they want to braid hair and are in kampala Uganda. then they will recieve back the nearest salon, addresss and a picture of the salon
Here the users recieve the closest salon based on their needs
Looking for the right place to go to get a service can sometimes be frastrating if you are new to the area. Salon-Yo, is designed to help users find the closest salon based on their need.
once the user gets to my homepage, they are required to enter their location and what they need, then they will recieve a salon, address and picture of the salon, if one exists depending on need.
Data Wrangling: Pandas
Framework: Flask
Backend: Python, SQLAlchemy, PostgreSQL
Frontend: Javascript , AJAX, JSON , JQuery, Jinja, HTML, CSS, Bootstrap
Libraries: httplib2
Here the users provide the required information
Here the user recieves back, the name , address and a picture of the salon.
If no salon is found by the app, thee user recieves an apology
Below is muy landing page
On local machine, go to desired directory. Clone repository:
$ git clone https://github.com/Claire56/salon-yo
Create a virtual environment in the directory:
$ virtualenv env
Activate virtual environment:
$ source env/bin/activate
Install dependencies:
$ pip install -r requirements.txt
Create database:
$ python3 server.py
Navigate to localhost:5000 in browser.
- personalise the search
- be able to provide the best 5 saloons in order based on reviews