|
1 |
| -<a href="https://minimal-fastapi-postgres-template.rafsaf.pl/" target="_blank"> |
2 |
| - <img src="https://img.shields.io/badge/live%20example-https%3A%2F%2Fminimal--fastapi--postgres--template.rafsaf.pl-blueviolet" alt="Live example"> |
3 |
| -</a> |
4 |
| -<a href="https://github.com/rafsaf/minimal-fastapi-postgres-template/blob/main/LICENSE" target="_blank"> |
5 |
| - <img src="https://img.shields.io/github/license/rafsaf/minimal-fastapi-postgres-template" alt="License"> |
6 |
| -</a> |
7 |
| -<a href="https://docs.python.org/3/whatsnew/3.12.html" target="_blank"> |
8 |
| - <img src="https://img.shields.io/badge/python-3.12-blue" alt="Python"> |
9 |
| -</a> |
10 |
| -<a href="https://github.com/psf/black" target="_blank"> |
11 |
| - <img src="https://img.shields.io/badge/code%20style-black-lightgrey" alt="Black"> |
12 |
| -</a> |
13 |
| -<a href="https://github.com/rafsaf/minimal-fastapi-postgres-template/actions/workflows/tests.yml" target="_blank"> |
14 |
| - <img src="https://github.com/rafsaf/minimal-fastapi-postgres-template/actions/workflows/tests.yml/badge.svg" alt="Tests"> |
15 |
| -</a> |
| 1 | +[](https://github.com/astral-sh/ruff) |
| 2 | +[](https://minimal-fastapi-postgres-template.rafsaf.pl/) |
| 3 | +[](https://github.com/rafsaf/minimal-fastapi-postgres-template/blob/main/LICENSE) |
| 4 | +[](https://docs.python.org/3/whatsnew/3.12.html) |
| 5 | +[](https://github.com/psf/black) |
| 6 | +[](https://github.com/rafsaf/minimal-fastapi-postgres-template/actions/workflows/tests.yml) |
16 | 7 |
|
17 | 8 | # Minimal async FastAPI + PostgreSQL template
|
18 | 9 |
|
|
42 | 33 | - [x] [Alembic](https://alembic.sqlalchemy.org/en/latest/) migrations
|
43 | 34 | - [x] Very minimal project structure yet ready for quick start building new apps
|
44 | 35 | - [x] Refresh token endpoint (not only access like in official template)
|
45 |
| -- [x] Two databases in docker-compose.yml (second one for tests) and ready to go Dockerfile with [Uvicorn](https://www.uvicorn.org/) webserver |
| 36 | +- [x] Two databases in docker-compose.yml (second one for tests) and ready to go Dockerfile with [uvicorn](https://www.uvicorn.org/) webserver |
46 | 37 | - [x] [Poetry](https://python-poetry.org/docs/) and Python 3.12 based
|
47 |
| -- [x] `pre-commit` with poetry export, autoflake, black, isort and flake8 |
| 38 | +- [x] `pre-commit` with poetry export and [ruff](https://github.com/astral-sh/ruff) |
48 | 39 | - [x] Rich setup for pytest async tests with few included and extensible `conftest.py`
|
49 | 40 |
|
50 | 41 | <br>
|
|
0 commit comments