This is the eleventh project in the Treehouse Python tech degree.
Hosted at pug-or-ugh.jordanhoover.me. To view locally clone the repo, create a virtual env
and run make install
and make run
.
Paw left or right in this app to find the dog of your dreams! You can filter dogs by liked, disliked, or undecided as well as various attributes.
The frontend of the app is powered by React which communicates with an open api backend.
To communicate with the backend api, please see the following routes.
-
To view a full list of available dogs
/api/dog/<pk>/liked/
-
To view a list of dogs by status (liked/disliked/undecided)
/api/dogs/liked/
/api/dogs/disliked/
/api/dogs/undecided/
-
To get the next dog by status (liked/disliked/undecided)
/api/dog/<pk>/liked/next/
/api/dog/<pk>/disliked/next/
/api/dog/<pk>/undecided/next/
-
To change the dog's status
/api/dog/<pk>/liked/
/api/dog/<pk>/disliked/
/api/dog/<pk>/undecided/
-
To change or set user preferences
/api/user/preferences/