├── .env ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml └── workflows │ └── main.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── launch.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── assets ├── fastapi-supabase-template-for-llm.png └── logo.png ├── backend ├── .dockerignore ├── Dockerfile ├── alembic.ini ├── app │ ├── __init__.py │ ├── alembic │ │ ├── README │ │ ├── env.py │ │ ├── script.py.mako │ │ └── versions │ │ │ └── 2c0516590c18_initial_commit.py │ ├── api │ │ ├── __init__.py │ │ ├── deps.py │ │ ├── main.py │ │ └── routes │ │ │ ├── __init__.py │ │ │ ├── items.py │ │ │ └── utils.py │ ├── core │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── config.py │ │ └── db.py │ ├── crud │ │ ├── __init__.py │ │ ├── base.py │ │ └── crud_item.py │ ├── main.py │ ├── models │ │ ├── __init__.py │ │ ├── base.py │ │ ├── item.py │ │ └── user.py │ ├── schemas │ │ ├── __init__.py │ │ └── auth.py │ ├── services │ │ └── __init__.py │ └── utils │ │ ├── __init__.py │ │ ├── init_data.py │ │ └── test_pre_start.py ├── pyproject.toml ├── scripts │ ├── format.sh │ ├── lint.sh │ ├── pre-start.sh │ ├── test.sh │ └── tests-start.sh ├── tests │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ └── api_v1 │ │ │ ├── __init__.py │ │ │ ├── test_items.py │ │ │ └── test_utils.py │ ├── conftest.py │ ├── crud │ │ ├── __init__.py │ │ └── test_item.py │ ├── test_main.py │ └── utils.py └── uv.lock ├── pyproject.toml ├── scripts ├── bump.sh └── update-env.sh ├── supabase ├── .gitignore └── config.toml └── uv.lock /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.env -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Atticuszz 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/README.md -------------------------------------------------------------------------------- /assets/fastapi-supabase-template-for-llm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/assets/fastapi-supabase-template-for-llm.png -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/assets/logo.png -------------------------------------------------------------------------------- /backend/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/.dockerignore -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/alembic.ini -------------------------------------------------------------------------------- /backend/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. 2 | -------------------------------------------------------------------------------- /backend/app/alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/alembic/env.py -------------------------------------------------------------------------------- /backend/app/alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/alembic/script.py.mako -------------------------------------------------------------------------------- /backend/app/alembic/versions/2c0516590c18_initial_commit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/alembic/versions/2c0516590c18_initial_commit.py -------------------------------------------------------------------------------- /backend/app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/deps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/api/deps.py -------------------------------------------------------------------------------- /backend/app/api/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/api/main.py -------------------------------------------------------------------------------- /backend/app/api/routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/routes/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/api/routes/items.py -------------------------------------------------------------------------------- /backend/app/api/routes/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/api/routes/utils.py -------------------------------------------------------------------------------- /backend/app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/core/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/core/auth.py -------------------------------------------------------------------------------- /backend/app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/core/config.py -------------------------------------------------------------------------------- /backend/app/core/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/core/db.py -------------------------------------------------------------------------------- /backend/app/crud/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/crud/__init__.py -------------------------------------------------------------------------------- /backend/app/crud/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/crud/base.py -------------------------------------------------------------------------------- /backend/app/crud/crud_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/crud/crud_item.py -------------------------------------------------------------------------------- /backend/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/main.py -------------------------------------------------------------------------------- /backend/app/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/models/__init__.py -------------------------------------------------------------------------------- /backend/app/models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/models/base.py -------------------------------------------------------------------------------- /backend/app/models/item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/models/item.py -------------------------------------------------------------------------------- /backend/app/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/models/user.py -------------------------------------------------------------------------------- /backend/app/schemas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/schemas/__init__.py -------------------------------------------------------------------------------- /backend/app/schemas/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/schemas/auth.py -------------------------------------------------------------------------------- /backend/app/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/utils/__init__.py -------------------------------------------------------------------------------- /backend/app/utils/init_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/utils/init_data.py -------------------------------------------------------------------------------- /backend/app/utils/test_pre_start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/app/utils/test_pre_start.py -------------------------------------------------------------------------------- /backend/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/pyproject.toml -------------------------------------------------------------------------------- /backend/scripts/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/scripts/format.sh -------------------------------------------------------------------------------- /backend/scripts/lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/scripts/lint.sh -------------------------------------------------------------------------------- /backend/scripts/pre-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/scripts/pre-start.sh -------------------------------------------------------------------------------- /backend/scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/scripts/test.sh -------------------------------------------------------------------------------- /backend/scripts/tests-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/scripts/tests-start.sh -------------------------------------------------------------------------------- /backend/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/tests/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/tests/api/api_v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/tests/api/api_v1/test_items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/tests/api/api_v1/test_items.py -------------------------------------------------------------------------------- /backend/tests/api/api_v1/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/tests/api/api_v1/test_utils.py -------------------------------------------------------------------------------- /backend/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/tests/conftest.py -------------------------------------------------------------------------------- /backend/tests/crud/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/tests/crud/test_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/tests/crud/test_item.py -------------------------------------------------------------------------------- /backend/tests/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/tests/test_main.py -------------------------------------------------------------------------------- /backend/tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/tests/utils.py -------------------------------------------------------------------------------- /backend/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/backend/uv.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/bump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/scripts/bump.sh -------------------------------------------------------------------------------- /scripts/update-env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/scripts/update-env.sh -------------------------------------------------------------------------------- /supabase/.gitignore: -------------------------------------------------------------------------------- 1 | # Supabase 2 | .branches 3 | .temp 4 | .env 5 | -------------------------------------------------------------------------------- /supabase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/supabase/config.toml -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtticusZeller/fastapi_supabase_template/HEAD/uv.lock --------------------------------------------------------------------------------