Espressia is a visionary espresso simulation system crafted in Rust, designed to elevate the art of coffee extraction into a realm of technological marvel. This project delivers a RESTful API to simulate espresso brewing with precision, allowing users to customize parameters like temperature, pressure, and extraction time while preserving metrics for analysis and inspiration.
- Espresso Simulation Utopia: Simulate brewing with unparalleled realism and control.
- Customizable Parameters: Fine-tune temperature, pressure, and time to craft the perfect shot.
- Precision Validation: Ensures every input aligns with the science of espresso perfection.
- Metrics Eternity: Stores extraction data in a robust format for reflection and growth.
- RESTful Elegance: Offers intuitive endpoints to initiate extractions and explore past brilliance.
To embark on the Espressia journey, follow these steps:
-
Clone the repository:
git clone https://github.com/beltradini/espressia.git cd espressia
-
Install Rust (if not already installed):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Build and run the project:
cargo run
Query Parameters:
- temperature (default: 93.0°C)
- pressure (default: 9.0 bar)
- time_seconds (default: 25s)
Example:
curl -X POST "http://127.0.0.1:3000/start?temperature=95&pressure=9.5&time_seconds=27"
Example:
curl -X GET "http://127.0.0.1:3000/metrics"
- Forge a database to immortalize metrics with grace and speed.
- Unveil a gallery of espresso recipes for instant mastery.
- Enhance error whispers and log every moment of brilliance.
- Expand the API to simulate a universe of beverages.
Espressia is released under the MIT License.