Go to file
iGor milhit 9fcd4d87e3
web: refactor in order to get an actual interface
- Splits the app in pages, components and services.
- Handles the routing.
- Creates an API service.
- Uses Pico CSS.
- Validates the form. TODO: to add validation state to the form.
- Updates the validation rules in the backend to be coherent on both
  sides.
- Adds tests.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-01-13 14:47:08 +01:00
tests web: refactor in order to get an actual interface 2026-01-13 14:47:08 +01:00
web web: refactor in order to get an actual interface 2026-01-13 14:47:08 +01:00
.gitignore config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
.python-version project: initial commit 2025-12-29 21:21:37 +01:00
README.md config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
bread.py web: refactor in order to get an actual interface 2026-01-13 14:47:08 +01:00
config.py config: improve management of CORS origins 2026-01-10 13:26:53 +01:00
main.py bread: refactor calculator into bread 2026-01-10 18:43:15 +01:00
pyproject.toml config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
uv.lock config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00

README.md

title subtitle date id tags
Dough Calc A tiny utility to calculate the proportions of flour, water, sourdough and salt for your dough. 2025-12-29T09:10:27+0100 20251229091027
python
calculator
bread
dough
sourdough

Dough Calc

Dough Calc is a tiny utility to calculate the proportions of flour, water, sourdough and salt for your dough, depending on the main flour quantity, the main proportion of water you're aiming for, and the proportion of water of your sourdough.

Development

To start a dev environment:

git clone https://git.milhit.ch/igor/dough-calc.git
cd dough-calc
uv sync
cd web
npm install

Tests

To run the tests:

uv run pytest

Linting

To run linting checks:

uv run ruff check --fix