https://github.com/bkarthik7/recipe_manager
A Recipe Manager application in Rust using the iced framework for managing, adding, editing, and deleting recipes with JSON file storage.
https://github.com/bkarthik7/recipe_manager
completed iced rust serde
Last synced: 10 months ago
JSON representation
A Recipe Manager application in Rust using the iced framework for managing, adding, editing, and deleting recipes with JSON file storage.
- Host: GitHub
- URL: https://github.com/bkarthik7/recipe_manager
- Owner: BKarthik7
- Created: 2024-10-30T11:55:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T19:06:14.000Z (over 1 year ago)
- Last Synced: 2025-03-22T08:30:46.214Z (about 1 year ago)
- Topics: completed, iced, rust, serde
- Language: Rust
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Recipe Manager
A Recipe Manager application built in Rust using the `iced` framework, allowing users to manage, add, edit, and delete recipes with JSON file storage.
## Features
- Add new recipes with name, ingredients, instructions, and servings.
- Edit existing recipes.
- Delete recipes.
- Save recipes to a JSON file.
- Load recipes from a JSON file.
## Project Structure
- **src/main.rs**: Entry point of the application and UI logic.
- **src/recipe.rs**: Defines the `Recipe` struct.
- **src/manager.rs**: Implements the `RecipeManager` struct for managing recipes.
- **src/ui.rs**: Contains the GUI components and logic.
## Requirements
- Rust and Cargo installed on your machine.
## Getting Started
1. Clone the repository:
```bash
git clone {repository-url}.git
cd recipe_manager
- **Note**: Fork this repository and replace `{repository-url}` with your own URL.
2. Build and run the application:
```bash
cargo run --package recipe_manager --bin recipe_manager
## Usage
- Input recipe details in the provided fields.
- Use buttons to add, edit, or delete recipes.
- Save and load recipes using the corresponding buttons.