Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.15 KB

Contents

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:

  1. Make sure python3 is installed
  2. pip3 install --user -r requirements.txt
  3. ./manage.py migrate
  4. ./manage.py createsuperuser
  5. ./manage.py runserver
  6. Visit http://localhost:8000/admin/ to create some questions
  7. 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.