- Strutures the `pyproject.toml` in order to distinguish dev from prod
dependencies.
- Lock the `uv.lock` file.
- Strutures the `web/package.json` to do the same.
Co-Authored-by: iGor milhit <igor@milhit.ch>
- 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>
- Rewrites the logic to calculate the ingredient for a bread.
- Adapt the app accordingly.
- Improves the tests.
Co-Authored-by: iGor milhit <igor@milhit.ch>
- Replaces the onliner converting the value of the env variable into a
list by a function. This allows to test this conversion.
Co-Authored-by: iGor milhit <igor@milhit.ch>
- Implements a configuration mechanism.
- Tests the configuration mechanism.
- Improves the tests structure.
- Configures the tests.
- Configures the ruff checker.
- Fixes lint errors.
- Documents how to test or to lint and very minimally or to set a
development environment.
Co-Authored-by: iGor milhit <igor@milhit.ch>
- Initializes and creates a React application.
- Creates the form which, when submitted, returns the quantities.
- Writes a minimal test.
- Allows CORS origins in the backend application.
Co-Authored-by: iGor milhit <igor@milhit.ch>
- Initializes the project with uv.
- Adds the basic dependencies.
- Documents minimally the project in the README file.
- Creates the logic to calculate the ingredient proportions of the
bread.
- Initializes the FastAPI application with an endpoint to calculate the
proportions.
Co-Authored-by: iGor milhit <igor@milhit.ch>