Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.57 KB

lecture.md

File metadata and controls

20 lines (13 loc) · 1.57 KB

Backend Services

Python Code-Along

Summary

  • We introduced the Python language - syntax, arrays, dicts, functions and file structure idioms.
  • We setup a local python environment using brew install python.
  • We setup a docker-ized server stack: NGINX talking to Python's Gunicorn talking to PostgreSQL.

Resources

  • We roughly followed this tutorial, except we did not use the data container feature to keep things simple. Our docker-compose.yaml is in slack
  • Flask is a good Python framework with easy-to-understand routing and simple idioms that makes it easy to specify your API in terms of paths and the REST vocabulary (GET, PUT, POST, DELETE).
  • Hat-tip to Tim for the great tutorial for Building a RESTful API in Flask and this Flask-based HOW-TO guide cover things like authentication and much more.

Homework

  • Earn your first point for last week's homework by pasting your story into your teams github project page -or- linking from the github project page to the story in your project management system, like waffle.io or Trello.
  • Every Team will present their story Demo next Weds. Maximum presentation time is 3-mins per team! detailed instructions for the format of your presentation to follow.