Skip to content

sanketsaurav/tastypie-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

By @sanketsaurav.

Tastypie is a webservice API framework for Django. It provides a convenient, yet powerful and highly customizable, abstraction for creating REST-style interfaces. The slide deck can be found here.

Agenda

  • Brief introduction to RESTful API interfaces, CRUD, and why you should consider having an API

  • Creating your first API

  • Tastypie configuration and design features

  • Understanding the lifetime of an API request

  • Deeper look into ModelResource - general and relationship fields

  • Authorization, Authentication and Caching

  • Advanced data preparation

  • Nested resources

  • Testing

Requirements

  • Python v2.7.x. If you don't have it already, you can grab it here.

  • SQLite. Any recent version would do.

  • Your favorite text editor. Mine's ST3.

  • Google Chrome with Advanced REST Client extension for interacting with APIs.

Installation

  1. Clone this repository in your workspace.
git clone git@github.com:sanketsaurav/tastypie-tutorial.git
  1. Install virtualenvwrapper. Instructions specific to your OS can be found here.

  2. Create a new virtualenv, and install the requirements of this project.

cd tastypie-tutorial
pip install -r requirements.txt
  1. Start your Django dev server.
python manage.py runserver
  1. Follow along!

About

Tastypie Tutorial for BangPypers meetup October '14.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages