Food Weight Calculator is a simple web-based application that estimates the cooked weight of food based on its raw weight. It helps users make informed decisions about portion sizes and nutrition.
🔗 Live Website: calculator.foodweight.online 📂 GitHub Repository: Kaido997/food-weight-calculator
- Convert raw food weight to cooked weight instantly.
- Support for various food types with different cooking weight loss factors.
- Responsive and lightweight web interface.
- Built using Go (without frameworks) for high performance and simplicity.
food-weight-calculator/
│-- api/ # Handles API requests for weight calculations
│-- internal/ # Internal logic and database management
│-- services/ # Core business logic and calculations
│-- web/ # HTML, CSS, and JS frontend files
│-- main.go # Entry point of the application
│-- go.mod # Go dependencies
│-- Dockerfile # Docker setup for deployment
│-- README.md # Project documentation
-
Clone the repository:
git clone https://github.com/Kaido997/food-weight-calculator.git cd food-weight-calculator
-
Run the application:
go run main.go
or
air
-
Access the website: Open
http://localhost:8080
in your web browser.
- Enter the raw food weight (grams).
- Choose the food type (e.g., chicken, beef, fish, vegetables).
- View the estimated cooked weight instantly.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to open issues or submit pull requests on GitHub.
For questions or suggestions, reach out via:
- GitHub: Kaido997