Skip to content

Spoonacular Meal Planner API Integration -- Integrate with the Spoonacular API to create a web app for generating daily or weekly meal plans. Use Spring Boot and implement endpoints for fetching meal plans based on parameters like calories, diet, and exclusions.

Notifications You must be signed in to change notification settings

KevinGallaccio/kevin-assignment-10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meal Planner Application

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.

Table of Contents

Features

  • Generate weekly or daily meal plans
  • Specify dietary preferences and target calorie intake
  • View detailed information about each meal, including nutritional content

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Java 8 or later
  • Maven

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/meal-planner.git
    
  2. Navigate to the project directory:

    cd meal-planner
    
  3. Build the project using Maven:

    mvn clean install
    
  4. Run the application:

    java -jar target/meal-planner-0.0.1-SNAPSHOT.jar
    

Usage

Endpoints

1. Generate Weekly Meal Plan:

. Method: GET
. Parameters:
  • targetCalories (optional): Target calorie intake for the week
  • diet (optional): Dietary preferences (e.g., vegan, vegetarian)
  • exclude (optional): Excluded ingredients or categories

2. Generate Daily Meal Plan:

. Method: GET
. Parameters:
  • targetCalories (optional): Target calorie intake for the day
  • diet (optional): Dietary preferences (e.g., vegan, vegetarian)
  • exclude (optional): Excluded ingredients or categories

About

Spoonacular Meal Planner API Integration -- Integrate with the Spoonacular API to create a web app for generating daily or weekly meal plans. Use Spring Boot and implement endpoints for fetching meal plans based on parameters like calories, diet, and exclusions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages