Loading...
+ }
+
+ return
+}
\ No newline at end of file
diff --git a/frontend/src/components/RecipeEditor.tsx b/frontend/src/components/recipes/RecipeEditor.tsx
similarity index 96%
rename from frontend/src/components/RecipeEditor.tsx
rename to frontend/src/components/recipes/RecipeEditor.tsx
index 18b0d4c..ea8540d 100644
--- a/frontend/src/components/RecipeEditor.tsx
+++ b/frontend/src/components/recipes/RecipeEditor.tsx
@@ -1,8 +1,7 @@
import { useState } from "react"
-import type { Recipe } from "../types/recipe"
-import type { IngredientGroup } from "../types/ingredientGroup"
+import type { Recipe } from "../../types/recipe"
+import type { IngredientGroup } from "../../types/ingredientGroup"
import { IngredientGroupListEditor } from "./IngredientGroupListEditor"
-import { IngredientListEditor } from "./IngredientListEditor"
type RecipeEditorProps = {
recipe: Recipe
diff --git a/frontend/src/components/RecipeListItem.tsx b/frontend/src/components/recipes/RecipeListItem.tsx
similarity index 100%
rename from frontend/src/components/RecipeListItem.tsx
rename to frontend/src/components/recipes/RecipeListItem.tsx
diff --git a/frontend/src/components/RecipeListView.tsx b/frontend/src/components/recipes/RecipeListPage.tsx
similarity index 84%
rename from frontend/src/components/RecipeListView.tsx
rename to frontend/src/components/recipes/RecipeListPage.tsx
index 6aed0a8..3ea4c35 100644
--- a/frontend/src/components/RecipeListView.tsx
+++ b/frontend/src/components/recipes/RecipeListPage.tsx
@@ -1,11 +1,11 @@
-import { recipes } from "../mock_data/recipes"
+import { recipes } from "../../mock_data/recipes"
import RecipeListItem from "./RecipeListItem"
/**
* Displays a list of recipes in a sidebar layout.
* Each recipe link fills the available width.
*/
-export default function RecipeListView() {
+export default function RecipeListPage() {
return (
Recipes
diff --git a/frontend/src/config/api.ts b/frontend/src/config/api.ts
new file mode 100644
index 0000000..ccbd753
--- /dev/null
+++ b/frontend/src/config/api.ts
@@ -0,0 +1,4 @@
+/**
+ * Backend URL
+ */
+export const API_BASE_URL = "http://localhost:4000"
\ No newline at end of file