insert ingredents

This commit is contained in:
fred 2025-07-09 17:06:40 -07:00
parent 22e2dab830
commit 8af791deb9
6 changed files with 28 additions and 32 deletions

View file

@ -11,6 +11,8 @@ export const getRecipeById = async (id) => {
};
export const addRecipe = async (recipeData) => {
console.log(JSON.stringify(recipeData))
// return
const response = await fetch("http://localhost:6063/add-recipe", {
method: 'POST',
headers: { 'Content-Type': 'application/json' },