├── .env.example ├── .github └── workflows │ └── linters.yml ├── .gitignore ├── Dockerfile.prod ├── LICENSE ├── README.md ├── alembic.ini ├── alembic ├── README ├── env.py ├── script.py.mako └── versions │ └── .gitkeep ├── docker-compose.prod.yml ├── docker-compose.yml ├── entrypoints └── gunicorn.sh ├── gunicorn └── gunicorn_conf.py ├── justfile ├── logging.ini ├── logging_production.ini ├── poetry.lock ├── pyproject.toml ├── ruff.toml ├── scripts └── postgres │ ├── backup │ └── restore └── src ├── __init__.py ├── config.py ├── constants.py ├── database.py ├── exceptions.py ├── main.py ├── schemas.py └── utils.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/linters.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/.github/workflows/linters.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile.prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/Dockerfile.prod -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/README.md -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/alembic.ini -------------------------------------------------------------------------------- /alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/alembic/env.py -------------------------------------------------------------------------------- /alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/alembic/script.py.mako -------------------------------------------------------------------------------- /alembic/versions/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker-compose.prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/docker-compose.prod.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /entrypoints/gunicorn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/entrypoints/gunicorn.sh -------------------------------------------------------------------------------- /gunicorn/gunicorn_conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/gunicorn/gunicorn_conf.py -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/justfile -------------------------------------------------------------------------------- /logging.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/logging.ini -------------------------------------------------------------------------------- /logging_production.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/logging_production.ini -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/pyproject.toml -------------------------------------------------------------------------------- /ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/ruff.toml -------------------------------------------------------------------------------- /scripts/postgres/backup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/scripts/postgres/backup -------------------------------------------------------------------------------- /scripts/postgres/restore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/scripts/postgres/restore -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/config.py -------------------------------------------------------------------------------- /src/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/constants.py -------------------------------------------------------------------------------- /src/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/database.py -------------------------------------------------------------------------------- /src/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/exceptions.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/main.py -------------------------------------------------------------------------------- /src/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/schemas.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhanymkanov/fastapi_production_template/HEAD/src/utils.py --------------------------------------------------------------------------------