Skip to content

corbinbs/flask-api-talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-api-talk

This is a first draft of an introductory talk on implementing APIs with Flask

The talk introduces Flask via a single module application and then discusses common API concerns and shows how one might go about dealing with those in a larger application.

Get Started with Examples

Setup a new virtualenv with the appropriate dependencies

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt 

Fire up the IPython notebook if you'd like to interact with the APIs using it

$ ipython notebook

Run the single module example with the Flask dev server

$ cd single-module
$ python happy_birthday.py

Run the classy API example using gunicorn via the included Procfile

$ cd classy-api
$ honcho start

About

Draft of intro talk about implementing APIs with Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages