brew install libtiff libjpeg webp little-cms2
sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev
npm install apidoc -g
pipenv shell
pipenv install
./seed_data.sh
Now that your database is set up all you have to do is run the command:
python manage.py runserver
Open the Bangazon database diagram in the browser to view the tables and relationships for your database. Note that the tables names and field names are written in Pascal case, and not in snake case. Your database has everything in snake case, so while the field names are different, the resources and relationships are identical to the ERD.
https://www.getpostman.com/collections/c29b98258d312bf240b7
To test it out, expand the Profile sub-collection, double-click on Login and send the request. You should get a response back that looks like this.
{
"valid": true,
"token": "9ba45f09651c5b0c404f37a2d2572c026c146690",
"id": 5
}
To view browser-based documentation for the project, follow these steps.
./renderdocs.sh
cd docs
http-server
or serve
.