This project is a meal planner application that allows users to generate weekly or daily meal plans based on their dietary preferences and target calorie intake. It leverages the Spoonacular API to fetch recipe data.
- Generate weekly or daily meal plans
- Specify dietary preferences and target calorie intake
- View detailed information about each meal, including nutritional content
Before you begin, ensure you have met the following requirements:
- Java 8 or later
- Maven
-
Clone the repository:
git clone https://github.com/your-username/meal-planner.git
-
Navigate to the project directory:
cd meal-planner
-
Build the project using Maven:
mvn clean install
-
Run the application:
java -jar target/meal-planner-0.0.1-SNAPSHOT.jar
Endpoint: /mealplanner/week
- targetCalories (optional): Target calorie intake for the week
- diet (optional): Dietary preferences (e.g., vegan, vegetarian)
- exclude (optional): Excluded ingredients or categories
Endpoint: /mealplanner/day
- targetCalories (optional): Target calorie intake for the day
- diet (optional): Dietary preferences (e.g., vegan, vegetarian)
- exclude (optional): Excluded ingredients or categories