The Meal Planner Application is a simple command-line tool that allows users to manage and plan their meals. With this application, users can add new meals, view meals by category, plan meals for weekdays, save shopping lists, and exit the application.
- Add new meals with ingredients.
- View meals categorized as breakfast, lunch, or dinner.
- Plan meals for each weekday.
- Save the planned meals as a shopping list.
- Easily manage and organize your meal planning.
- Java Development Kit (JDK) 11 or higher.
- PostgreSQL database server (optional if you want to use the database feature).
To compile the Meal Planner Application, follow these steps:
- Clone the repository:
git clone https://github.com/sirio-roberto/meal-planner-java.git
- Navigate to the project directory:
cd meal-planner
- Compile the application:
javac -d bin src/mealplanner/Main.java
To run the Meal Planner Application, execute the following command:
java -cp bin mealplanner.Main
The Meal Planner Application supports the following commands:
add
: Add a new meal with ingredients.show
: View meals categorized as breakfast, lunch, or dinner.plan
: Plan meals for each weekday.save
: Save the planned meals as a shopping list.exit
: Exit the application.
Contributions are welcome! If you find a bug or have any suggestions, please feel free to open an issue or submit a pull request.
The Meal Planner Application is open-source software licensed under the MIT License.