Skip to content

lferran/guillotina-simpleserver

Repository files navigation

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

About

Really simple server app on top of guillotina

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages