Skip to content

Commit 5d04dd4

Browse files
committed
better badges and features section
1 parent ac8fec5 commit 5d04dd4

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

README.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
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+
[![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)
2+
[![Live example](https://img.shields.io/badge/live%20example-https%3A%2F%2Fminimal--fastapi--postgres--template.rafsaf.pl-blueviolet)](https://minimal-fastapi-postgres-template.rafsaf.pl/)
3+
[![License](https://img.shields.io/github/license/rafsaf/minimal-fastapi-postgres-template)](https://github.com/rafsaf/minimal-fastapi-postgres-template/blob/main/LICENSE)
4+
[![Python 3.12](https://img.shields.io/badge/python-3.12-blue)](https://docs.python.org/3/whatsnew/3.12.html)
5+
[![Black](https://img.shields.io/badge/code%20style-black-lightgrey)](https://github.com/psf/black)
6+
[![Tests](https://github.com/rafsaf/minimal-fastapi-postgres-template/actions/workflows/tests.yml/badge.svg)](https://github.com/rafsaf/minimal-fastapi-postgres-template/actions/workflows/tests.yml)
167

178
# Minimal async FastAPI + PostgreSQL template
189

@@ -42,9 +33,9 @@
4233
- [x] [Alembic](https://alembic.sqlalchemy.org/en/latest/) migrations
4334
- [x] Very minimal project structure yet ready for quick start building new apps
4435
- [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
4637
- [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)
4839
- [x] Rich setup for pytest async tests with few included and extensible `conftest.py`
4940

5041
<br>

0 commit comments

Comments
 (0)