Bark Park is a web app that gives users an easy way to find dog friendly parks in both San Francisco and Oakland. Users can filter to find the right park for them and their dog, whether their needs are "on leash”, “off leash”, or “enclosed”. Using the Mapbox API park locations are conveniently displayed on a map with interactive markers.
Designed to be user friendly, once a marker is selected a sidebar displays further park information; including a link to a park’s website, comments about the park from other users, and park photos.
Once a park is selected, users can also add their own comments and photos for any park that they’ve experienced with their pooch.
- Python
- Flask
- PostgresSQL
- SQLAlchemy
- Javascript/jQuery
- Jinja2
- Bootstrap
- MapBox API
- Set up and activate a python virtualenv, and install all dependencies:
pip install -r requirements.txt
- Make sure you have PostgreSQL running. Create a new database in psql named barkParkdb:
psql
CREATE DATABASE barkParkdb;
- Create the tables in your database:
python -i model.py
- While in interactive mode, create tables:
db.create_all()
- Seed the tables:
psql barkParkdb < dump.sql
- Now, quit interactive mode. Start up the flask server:
python server.py
- Go to localhost:5000 to see the web app
Next steps for Bark Park include implementing a secure user login, user park input handled via moderation, directions/route to park from user location.
Cooper is a software engineer living in the Bay Area.