From c3315dbf6da38f15e7501b543d5e58cc70a71744 Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Tue, 10 Jun 2025 20:53:52 +0200 Subject: [PATCH] finished app --- backend/database/recipes/Pizza.txt | 2 -- backend/database/recipes/test.txt | 1 + backend/views/index.ejs | 29 ++++++++++++++++++++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 backend/database/recipes/test.txt diff --git a/backend/database/recipes/Pizza.txt b/backend/database/recipes/Pizza.txt index c4941b3..5023a6a 100644 --- a/backend/database/recipes/Pizza.txt +++ b/backend/database/recipes/Pizza.txt @@ -1,5 +1,3 @@ -# Pizza - ## Zutaten ### Teig für 3 Pizzen diff --git a/backend/database/recipes/test.txt b/backend/database/recipes/test.txt new file mode 100644 index 0000000..c03aefc --- /dev/null +++ b/backend/database/recipes/test.txt @@ -0,0 +1 @@ +## 124 \ No newline at end of file diff --git a/backend/views/index.ejs b/backend/views/index.ejs index f19023a..33a2a4a 100644 --- a/backend/views/index.ejs +++ b/backend/views/index.ejs @@ -27,7 +27,7 @@
<% recipes.forEach(recipe => { %>
-

<%= recipe.title %>

+

<%= recipe.title %>

<%- recipe.content %>
<% }) %> @@ -37,6 +37,33 @@