Files for my REST API tutorials featuring a server written in Python and a web client written in Javascript.
Switch branches/tags
Clone or download
Pull request Compare This branch is 4 commits behind miguelgrinberg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
.gitignore
LICENSE
README.md
requirements.txt
rest-server-v2.py
rest-server.py
setup.bat
setup.sh
virtualenv.py

README.md

REST-tutorial

Files for my REST API tutorials featuring a server written in Python and a web client written in Javascript. Here are the articles:

Setup

  • Install Python 2.7 and git.
  • Run setup.sh (Linux, OS X, Cygwin) or setup.bat (Windows)
  • Run ./rest-server.py to start the server (on Windows use flask\Scripts\python rest-server.py instead)
  • Alternatively, run ./rest-server-v2.py to start the Flask-RESTful version of the server.
  • Open http://localhost:5000/index.html on your web browser to run the client