diff --git a/.github/assets/logo-dark.png b/.github/assets/logo-dark.png new file mode 100755 index 0000000..fa3367b Binary files /dev/null and b/.github/assets/logo-dark.png differ diff --git a/.github/assets/logo-light.png b/.github/assets/logo-light.png new file mode 100755 index 0000000..1810301 Binary files /dev/null and b/.github/assets/logo-light.png differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..de9d4d3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v5 + - run: uv sync + - run: uv run ruff check . + - run: uv run ruff format --check . + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v5 + - run: uv sync + - run: uv run pytest diff --git a/README.md b/README.md index 13745fb..ce9e477 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ + + + + AG Technology Group + + # API Template +[![CI](https://github.com/ag-tech-group/api-template/actions/workflows/ci.yml/badge.svg)](https://github.com/ag-tech-group/api-template/actions/workflows/ci.yml) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) +[![Python](https://img.shields.io/badge/python-%3E%3D3.12-blue.svg)](https://www.python.org/) + FastAPI template with async PostgreSQL, cookie-based JWT authentication, refresh tokens, and security hardening. ## Tech Stack