Morepath RESTful HTTP API demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
morepath_rest_dump_load
.gitignore
.travis.yml
CHANGES.rst
LICENSE
MANIFEST.in
README.rst
setup.cfg
setup.py
tox.ini

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