solancer / morepath_rest_dump_load

Morepath RESTful HTTP API demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI Status

image

image

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

About

Morepath RESTful HTTP API demo

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%