This is a simple API that allows you to create and share your receipts with others.
- Make
- Python 3.12^
- Poetry
- Docker
- Docker-compose
To install the application, follow these steps:
- Clone the repository
- Install the dependencies with poetry
poetry install - Create a copy of
.env.distas.envfile in the root directory and fill it. - Start database in docker with
make docker-db - Run migrations with
make migrate - Run the application with
make dev
Tests are written with pytest and can be run with the following steps:
- Start database in docker with
make docker-db - Run tests with
make test
You can generate a secret key for .env with python -c "import secrets; print(secrets.token_urlsafe(32))"
You can find the API documentation by visiting /docs or /redoc endpoints.