initial commit
This commit is contained in:
commit
ee8aedd857
1599 changed files with 652440 additions and 0 deletions
19
frontend/src/mock_data/recipes.ts
Normal file
19
frontend/src/mock_data/recipes.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import type { Recipe } from "../types/recipe"
|
||||
|
||||
/**
|
||||
* Mock data set with some sample recipes.
|
||||
* In a real application, this would be fetched from a backend.
|
||||
*/
|
||||
export const recipes: Recipe[] = [
|
||||
{
|
||||
id: "1",
|
||||
title: "Spaghetti Bolognese",
|
||||
ingredients: [
|
||||
{ name: "Spaghetti", amount: 200, unit: "g" },
|
||||
{ name: "Ground Beef", amount: 300, unit: "g" },
|
||||
{ name: "Tomato Sauce", amount: 400, unit: "ml" }
|
||||
],
|
||||
instructions: "Cook pasta. Prepare sauce. Mix together. Serve hot.",
|
||||
photoUrl: "https://source.unsplash.com/400x300/?spaghetti"
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue