this thing has the database

This commit is contained in:
durn
2026-02-26 17:38:13 -07:00
parent e04c62a574
commit 372799f13b
54 changed files with 1496 additions and 0 deletions
@@ -0,0 +1,10 @@
package com.example.database;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface RecipeIngredientRepo extends CrudRepository<RecipeIngredient, Integer> {
// Custom query: find all ingredients for a recipe
Iterable<RecipeIngredient> findByRecipe(Recipe recipe);
}