Morepath RESTful HTTP API demo
Python
Permalink
Failed to load latest commit information.
morepath_rest_dump_load Updated test suite to work with Morepath 0.15. Jul 19, 2016
.gitignore
.travis.yml
CHANGES.rst
LICENSE Upgrading to Cookiecutter template and Morepath 0.14 May 5, 2016
MANIFEST.in
README.rst Upgrading to Cookiecutter template and Morepath 0.14 May 5, 2016
setup.cfg
setup.py
tox.ini Make Python 3.5 the default testing environment Jul 26, 2016

README.rst

Morepath RESTful HTTP API demo

Show how to create a RESTful API server with Morepath using dump_json and load_json.

More information:

http://blog.startifact.com/posts/better-rest-with-morepath-08.html

Installation

You can use pip in a virtual env:

$ virtualenv env
$ source env/bin/activate
$ env/bin/pip install -e .

Then to run the web server:

$ env/bin/morepath_rest

You can now access the application through http://localhost:5000