Skip to content

About

Simple Python3 Hug Application Hosted on AWS Lambda & API Gateway via Zappa

Resources

Stars

14 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Hug Example Using Zappa

This is a super simple hug example using Zappa. The only real trick here was knowing to set the app setting in the zappa_settings.json file. Hug provides a magic method for the wsgi compatible server that should be given to Zappa.

"app_function": "app.__hug_wsgi__"

Make sure you modify your zappa s3_bucket setting prior to deployment.

python -m venv env
source env/bin/activate
pip install -r requirements.txt
zappa deploy

About

Simple Python3 Hug Application Hosted on AWS Lambda & API Gateway via Zappa

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages