Slides for 2016-08-23 PyYYC Presentation.
This is a basic opinion polling webapp, created by following part of the Django Tutorial.
To get it running on your machine:
- Make sure python3 is installed
pip3 install --user -r requirements.txt
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
- Visit http://localhost:8000/admin/ to create some questions
- Vote on them from http://localhost:8000/polls/
polls_tutorial
augmented with a REST API for getting poll data, and
voting on polls, by following the Django REST framework quickstart.
polls_react
with the page-driven frontend replaced with reactive JS.
See the React tutorial and Component Specs and Lifecycle for details.