├── .gitignore ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── api ├── __init__.py ├── app.py └── errors.py ├── bin └── run.sh ├── docs └── swagger.yaml ├── requirements ├── common.txt └── develop.txt ├── setup.cfg ├── tests ├── __init__.py ├── load │ └── locustfiles │ │ └── api.py └── test_api.py └── wsgi.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/README.md -------------------------------------------------------------------------------- /api/__init__.py: -------------------------------------------------------------------------------- 1 | from .app import app 2 | -------------------------------------------------------------------------------- /api/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/api/app.py -------------------------------------------------------------------------------- /api/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/api/errors.py -------------------------------------------------------------------------------- /bin/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/bin/run.sh -------------------------------------------------------------------------------- /docs/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/docs/swagger.yaml -------------------------------------------------------------------------------- /requirements/common.txt: -------------------------------------------------------------------------------- 1 | flask 2 | gunicorn 3 | -------------------------------------------------------------------------------- /requirements/develop.txt: -------------------------------------------------------------------------------- 1 | locust 2 | black 3 | isort 4 | pytest -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 88 -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/load/locustfiles/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/tests/load/locustfiles/api.py -------------------------------------------------------------------------------- /tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/tests/test_api.py -------------------------------------------------------------------------------- /wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markdouthwaite/minimal-flask-api/HEAD/wsgi.py --------------------------------------------------------------------------------