- Responsive website
- Search pet rescue organizations
- Search and add pets to favorite
- App will suggest 10 or less possible pets according to a user's preference
- A User can select yes to add a pet to their favorite pet list
- Show a user's favorite pet list
- Database: PostgreSQL
- Backend: Flask, Flask-SQLalchemy, Python
- Frontend: Jinja, Bootstrap, JQuery
- API : Petfinder API.
-
start your PostgreSQL server and enter your password.
$sudo service postgresql start -
Create database in PostgreSQL (
furmily_dbis the database name)$createdb furmily_db -
Make sure you are in the root of this project folder where
seed.pyis saved. -
Create tables by using existing
seed.pyfile.$python3 seed.py
-
Make sure to replace environment variables
API_KEY,API_SECRET,SECRET_KEY,DemoUsername,DemoPasswordwith your own. You can import them from a separate file. Also, make sure to comment out environment variables set up for deployment. -
Navigate to the project folder
-
Create Virtual Environment
$python3 -m venv venv -
Open Virtual Environment. You will see
(venv)appear in front of$$source venv/bin/activate -
install dependencies
$pip3 install -r requirements.txt -
Run application
$flask run


