Skip to content
Really simple server app on top of guillotina
Python
Branch: master
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.
simpleserver
tests
.gitignore
LICENSE
README.md
config.json
dev-requirements.txt
requirements.txt
setup.py
test-requirements.txt

README.md

Simple guillotina server

This is an exampe of how simple it is to define and start a server application on top of guillotina.

To download and install

git clone git@github.com:lferran/guillotina-simpleserver.git
cd guillotina-simpleserver
pip install -e .

Run the server

g -c config.json

And then you already have the new GET /@double/{value} service available:

curl -XGET "http://localhost:8080/@double/3"                               ~
{"value": 6}

To run the tests

pip install -e '.[test]'
pytest tests
You can’t perform that action at this time.