Hug-n-Rest
is a micro framework for RESTful API based on Hug.
$ virtualenv -p python3 venv
$ source venv/bin/active
$ pip install -r requirements.txt
$ python manage.py db upgrade head
$ gunicorn --reload app:__hug_wsgi__
http POST :8000/api/v1/groups name=Group1 alias=g1 max_members=123
http POST :8000/api/v1/groups name=Group2 alias=g2
http :8000/api/v1/groups
http POST :8000/api/v1/users name="Khanh Ice Tea" fullname="Khanh Nguyen" email="[email protected]" password="123456" group_id=2
http POST :8000/api/v1/users name="Chuck Norris" fullname="Chuck norris" email="[email protected]" password="nobody" group_id=1
http :8000/api/v1/users