Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amoghmadan/python-starlette-rest-starter

Kick starter to your async REST application.
https://github.com/amoghmadan/python-starlette-rest-starter

python rest starlette uvicorn

Last synced: 19 days ago
JSON representation

Kick starter to your async REST application.

Awesome Lists containing this project

README

        

# Python-Starlette-REST-Starter (Python 3.6+)
Kick starter to your async REST application.

## How to run in development?
```
cd src
python main.py
```

## How to run in production?
Using gunicorn with uvicorn workers.
```
cd src
gunicorn main:app -w 4 -k uvicorn.workers.UvicornWorker -e ENV=production -b 0.0.0.0:8000
```