diff --git a/pyproject.toml b/pyproject.toml index ed2faf7..dc88407 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires-python = ">=3.14" authors = [ { name = "Artur Shiriev", email = "me@shiriev.ru" }, ] -license = "MIT License" +license = "MIT" dependencies = [ "fastapi>=0.76", "lite-bootstrap[fastapi-all]", diff --git a/readme.md b/readme.md index 3f71b50..ddf8060 100644 --- a/readme.md +++ b/readme.md @@ -14,28 +14,26 @@ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![ty](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty) -### Description -Production-ready dockerized async REST API on FastAPI with SQLAlchemy and PostgreSQL +## Description +Dockerized FastAPI, SQLAlchemy 2 and PostgreSQL app template with DI. -## Key Features +## Key features - tests on `pytest` with automatic rollback after each test case - IOC (Inversion of Control) container built on [modern-di](https://github.com/modern-python/modern-di/) - Observability tools integration built on [lite-bootstrap](https://github.com/modern-python/lite-bootstrap/) -- Linting and formatting using `ruff` and `ty` +- Linting and formatting with `ruff`, type checking with `ty` - `Alembic` for DB migrations Authentication is intentionally omitted: pick the scheme that fits your project and add it as a FastAPI dependency. -You can clone this project or use [this template](https://github.com/modern-python/modern-python-template) for fast [micro]service creation from scratch. - -### After `git clone` run +## After `git clone` run ```bash just --list ``` -## 📝 [License](LICENSE) +## 📝 [License](https://github.com/modern-python/fastapi-sqlalchemy-template/blob/main/LICENSE) ## Part of `modern-python` Browse the full list of templates and libraries in -[`modern-python`](https://github.com/modern-python) — see the org profile for the categorized index. +[`modern-python`](https://github.com/modern-python); the org profile has the categorized index.