- Clone the repository into your projects directory.
- Run
pip3 install -r requirements.txt
to ensure that you have all required Python packages installed. - Run the server code using
flask run
.
Part 1: Write a data model for the Post
resource.
Part 2: Complete the following challenges:
app.py
(for home and detail routes)templates/index.html
templates/detail.html
Part 3: Complete the following challenges:
static/index.js
app.py
(for vote route)