From 7c08f6e047a6f3d5d9cf0092444c836de5de140c Mon Sep 17 00:00:00 2001 From: Bhavyai Gupta Date: Mon, 16 Feb 2026 18:06:57 -0700 Subject: [PATCH 1/6] update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index f8970b3..f5ffc85 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Bhavyai Gupta +Copyright (c) 2026 Devs Compass Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From a6d673e4a13545d8f92e853a2b12929b79f29811 Mon Sep 17 00:00:00 2001 From: Bhavyai Gupta Date: Mon, 16 Feb 2026 18:08:24 -0700 Subject: [PATCH 2/6] update container image labels --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2c2bc5..e131cbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build stage -FROM docker.io/library/python:3.14-slim as build +FROM docker.io/library/python:3.14-slim AS build ARG REVISION WORKDIR /opt/app ENV SETUPTOOLS_SCM_PRETEND_VERSION=${REVISION} \ @@ -20,9 +20,9 @@ FROM docker.io/library/python:3.14-slim ARG REVISION LABEL org.opencontainers.image.title="FastAPI Template" LABEL org.opencontainers.image.description="FastAPI Template" -LABEL org.opencontainers.image.source="https://github.com/zbhavyai/fastapi-template" +LABEL org.opencontainers.image.source="https://github.com/devscompass/fastapi-template" LABEL org.opencontainers.image.licenses="MIT" -LABEL org.opencontainers.image.authors="Bhavyai Gupta " +LABEL org.opencontainers.image.authors="Devs Compass" LABEL org.opencontainers.image.version="${REVISION}" WORKDIR /opt/app ENV SETUPTOOLS_SCM_PRETEND_VERSION=${REVISION} \ From 2a3c58f9305054e811b6c7a521c2fc358a74129e Mon Sep 17 00:00:00 2001 From: Bhavyai Gupta Date: Mon, 16 Feb 2026 18:10:07 -0700 Subject: [PATCH 3/6] skip CI/CD builds on documentation updates --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ebcc20..35ab769 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,8 +3,13 @@ name: Build on: push: + branches: ["**"] + paths-ignore: + - "**.md" pull_request: branches: [main] + paths-ignore: + - "**.md" workflow_dispatch: workflow_call: From c198235511f8c2bd68a87e14311dbda87097df9e Mon Sep 17 00:00:00 2001 From: Bhavyai Gupta Date: Mon, 16 Feb 2026 18:12:06 -0700 Subject: [PATCH 4/6] re-format README --- README.md | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 712ac8d..4914c44 100644 --- a/README.md +++ b/README.md @@ -8,39 +8,39 @@ A **starter template** for building backend applications with [FastAPI](https:// ## :sparkles: Tech Stack and Features -- :zap: [FastAPI](http://fastapi.tiangolo.com/), the high-performance Python web framework -- :jigsaw: [Pydantic](https://docs.pydantic.dev/) for data validation and settings management -- :gear: [SQLAlchemy](https://www.sqlalchemy.org/) and [asyncpg](https://github.com/MagicStack/asyncpg) for non-blocking database access -- :elephant: [PostgreSQL](https://www.postgresql.org/) as the production-ready relational database -- :luggage: [Alembic](https://alembic.sqlalchemy.org/) for version-controlled database migrations -- :open_file_folder: Defined project structure with ready-to-use [`pyproject.toml`](pyproject.toml) and [pydantic settings](app/core/settings.py) -- :pen: [VS Code](https://code.visualstudio.com/) settings included -- :art: [Ruff](https://docs.astral.sh/ruff/) for consistent code formatting and linting -- :page_facing_up: [.editorconfig](https://editorconfig.org/) for consistent coding styles across editors -- :broom: A `pre-commit` hook for style enforcement -- :test_tube: [pytest](https://docs.pytest.org/en/stable/) tests to keep code honest -- :whale: Containerization with Dockerfile and docker compose -- :otter: Automatic [Podman](https://podman.io/)/[Docker](https://www.docker.com/) detection for local dev -- :hammer_and_wrench: [Makefile](https://www.gnu.org/software/make/) targets for format, build, run, and container tasks -- :vertical_traffic_light: [GitHub Actions](https://github.com/features/actions) for CI/CD -- :label: Artifact versioning based on Git SHA or tag, both in CI/CD and local builds -- :robot: [Dependabot](https://github.com/dependabot) for automated dependency updates +- :zap: [FastAPI](http://fastapi.tiangolo.com/), the high-performance Python web framework +- :jigsaw: [Pydantic](https://docs.pydantic.dev/) for data validation and settings management +- :gear: [SQLAlchemy](https://www.sqlalchemy.org/) and [asyncpg](https://github.com/MagicStack/asyncpg) for non-blocking database access +- :elephant: [PostgreSQL](https://www.postgresql.org/) as the production-ready relational database +- :luggage: [Alembic](https://alembic.sqlalchemy.org/) for version-controlled database migrations +- :open_file_folder: Defined project structure with ready-to-use [`pyproject.toml`](pyproject.toml) and [pydantic settings](app/core/settings.py) +- :pen: [VS Code](https://code.visualstudio.com/) settings included +- :art: [Ruff](https://docs.astral.sh/ruff/) for consistent code formatting and linting +- :page_facing_up: [.editorconfig](https://editorconfig.org/) for consistent coding styles across editors +- :broom: A `pre-commit` hook for style enforcement +- :test_tube: [pytest](https://docs.pytest.org/en/stable/) tests to keep code honest +- :whale: Containerization with Dockerfile and docker compose +- :otter: Automatic [Podman](https://podman.io/)/[Docker](https://www.docker.com/) detection for local dev +- :hammer_and_wrench: [Makefile](https://www.gnu.org/software/make/) targets for format, build, run, and container tasks +- :vertical_traffic_light: [GitHub Actions](https://github.com/features/actions) for CI/CD +- :label: Artifact versioning based on Git SHA or tag, both in CI/CD and local builds +- :robot: [Dependabot](https://github.com/dependabot) for automated dependency updates ## :rocket: Getting started -- Before you start development on this project, run the `init` target. This will install a pre-commit hook and install dependencies. +- Before you start development on this project, run the `init` target. This will install a pre-commit hook and install dependencies. ```shell make init ``` -- Run the application in dev mode that enables live coding. +- Run the application in dev mode that enables live coding. ```shell make dev ``` -- To format the code while developing, you may use for IDE and turn on the auto-formatting on save. You may also use the format target. +- To format the code while developing, you may use for IDE and turn on the auto-formatting on save. You may also use the format target. ```shell make format @@ -58,7 +58,7 @@ A **starter template** for building backend applications with [FastAPI](https:// make container-build ``` -1. Run the application +2. Run the application ```shell make run From 1ce57097c52dab8a5fefe96dd9ba1a3e6e483d9c Mon Sep 17 00:00:00 2001 From: Bhavyai Gupta Date: Mon, 16 Feb 2026 18:13:47 -0700 Subject: [PATCH 5/6] update postgres version for tests --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 9e16f36..2edff52 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -25,7 +25,7 @@ @pytest.fixture(scope="session") def postgres_container() -> Generator[PostgresContainer]: container = PostgresContainer( - "docker.io/library/postgres:17.0", + "docker.io/library/postgres:18", username="appuser", password="apppass", dbname="appdb", From 1ff83e548ff421636383d16995af4e94c05af624 Mon Sep 17 00:00:00 2001 From: Bhavyai Gupta Date: Mon, 16 Feb 2026 18:16:22 -0700 Subject: [PATCH 6/6] update README badge labels --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4914c44..0ff7216 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # FastAPI Template -![Build](https://img.shields.io/github/actions/workflow/status/zbhavyai/fastapi-template/build.yml?label=Build) -![Release](https://img.shields.io/github/actions/workflow/status/zbhavyai/fastapi-template/release.yml?label=Release) -![License](https://img.shields.io/github/license/zbhavyai/fastapi-template?label=License) +[![Build](https://img.shields.io/github/actions/workflow/status/devscompass/fastapi-template/build.yml?label=Build)](https://github.com/devscompass/fastapi-template/actions/workflows/build.yml) +[![Release](https://img.shields.io/github/actions/workflow/status/devscompass/fastapi-template/release.yml?label=Release)](https://github.com/devscompass/fastapi-template/actions/workflows/release.yml) +[![License](https://img.shields.io/github/license/devscompass/fastapi-template?label=License)](https://github.com/devscompass/fastapi-template/blob/main/LICENSE) A **starter template** for building backend applications with [FastAPI](https://fastapi.tiangolo.com/), the high-performance Python web framework.