Files
amap/backend/README.md
Julien Aldon 61cbbf0366
All checks were successful
Deploy Amap / deploy (push) Successful in 3m45s
add tests forn forms, products, productors
2026-02-25 16:39:12 +01:00

41 lines
774 B
Markdown

# backend
[![PyPI - Version](https://img.shields.io/pypi/v/backend.svg)](https://pypi.org/project/backend)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/backend.svg)](https://pypi.org/project/backend)
-----
## Table of Contents
- [Installation](#installation)
- [License](#license)
## Installation
```console
apt install weasyprint
hatch shell
fastapi dev src/main.py
```
### Migration
This repository use `alembic` for migrations
#### Create migration
```console
alembic revision --autogenerate -m "message"
```
#### Apply migration
```console
alembic upgrade head
```
## Tests
```
hatch run pytest
hatch run pytest --cov=src -vv
```
## License
`backend` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.