Compare commits

...

20 Commits
dev ... main

Author SHA1 Message Date
89014da485 Update .gitea/workflows/server-run.yaml
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 17s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
2025-07-14 13:15:30 +00:00
f4b17f0599 Update .gitea/workflows/server-run.yaml
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 14s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
2025-07-10 17:41:37 +00:00
Jonas Hinterdorfer
83518e2b3e fix redirect bug
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 14s
2025-07-10 19:38:35 +02:00
Jonas Hinterdorfer
7c94d7a38b updated the producs.json
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 26s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
2025-07-10 16:16:57 +02:00
Jonas Hinterdorfer
3ef178f29f updated the producs.json
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 16s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 12s
2025-07-08 21:13:32 +02:00
Jonas Hinterdorfer
ed98c300bf updated the producs.json
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 42s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 12s
2025-07-08 16:58:48 +02:00
Jonas Hinterdorfer
b3aa44a126 fixed dass er bei essen bzw trinken bleibt
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 18s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 15s
2025-07-07 21:30:07 +02:00
98b8cfd6c8 Update src/data/products.json
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 28s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 14s
2025-07-07 19:19:41 +00:00
0245a5c16a Update src/data/products.json
Some checks failed
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Blocked by required conditions
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Has been cancelled
2025-07-07 19:19:08 +00:00
33508fac9e Update src/data/products.json
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 14s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
2025-06-20 15:06:46 +00:00
90b115fcd2 Update src/data/products.json
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
2025-06-20 14:57:38 +00:00
6a0892fc1f Merge pull request 'removed sorting and upded produts for OVZ Sonnenwende' (#6) from dev into main
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 25s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 19s
Reviewed-on: #6
2025-06-20 09:54:30 +00:00
80232b8099 Merge pull request 'fixed dass er bei essen bzw trinken bleibt' (#5) from dev into main
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
Reviewed-on: #5
2025-06-16 07:57:05 +00:00
a19c082d9a Merge pull request 'Implemte behavior wenn options null' (#4) from dev into main
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 12s
Reviewed-on: #4
2025-06-16 07:49:57 +00:00
e7fda0497e Merge pull request 'removed the title and modified the change calcluator' (#3) from dev into main
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
Reviewed-on: #3
2025-06-16 07:17:49 +00:00
113393b313 Add LICENSE
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 14s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 12s
2025-06-16 07:01:59 +00:00
73a522be60 Merge pull request 'dev' (#2) from dev into main
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 12s
Reviewed-on: #2
2025-06-16 06:58:26 +00:00
e390f78926 Merge pull request 'dev' (#1) from dev into main
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 18s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 17s
Reviewed-on: #1
2025-06-16 05:58:32 +00:00
5ce221e1c7 Update .gitea/workflows/server-run.yaml
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 13s
2025-06-15 21:56:03 +00:00
33cf5235a4 Update .gitea/workflows/server-run.yaml
Some checks failed
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 14s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Failing after 15s
2025-06-15 21:53:21 +00:00
5 changed files with 144 additions and 34 deletions

View File

@ -163,7 +163,11 @@ jobs:
port: port:
number: 80 number: 80
EOF EOF
kubectl delete deployment "${REPO_NAME}" -n gitea-deployment --ignore-not-found
kubectl delete service "${REPO_NAME}" -n gitea-deployment --ignore-not-found
kubectl delete ingress "${REPO_NAME}-ingress" -n gitea-deployment --ignore-not-found
# Display the manifest for debugging # Display the manifest for debugging
echo "--- Generated manifest: ---" echo "--- Generated manifest: ---"
cat k8s-manifests.yaml cat k8s-manifests.yaml

View File

@ -9,5 +9,6 @@ RUN npm run build
# Production stage # Production stage
FROM nginx:alpine FROM nginx:alpine
COPY --from=build /app/build /usr/share/nginx/html COPY --from=build /app/build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) [Jahr] [Dein Name]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

19
nginx.conf Normal file
View File

@ -0,0 +1,19 @@
# nginx.conf
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri /index.html;
}
# Optional: serve static files directly
location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico|woff2?|ttf|eot|otf|ttc|json)$ {
try_files $uri =404;
access_log off;
add_header Cache-Control "public, max-age=31536000, immutable";
}
}

View File

@ -2,65 +2,130 @@
"food": [ "food": [
{ {
"id": "f1", "id": "f1",
"name": "Kotlettsemmel / Wurst", "name": "Henderl",
"basePrice": 5, "basePrice": 10,
"color": "#FFEBCD" "color": "#ff6666"
}, },
{ {
"id": "f2", "id": "f2",
"name": "Pommes", "name": "Kotelett",
"basePrice": 2.50, "basePrice": 10,
"color": "#FFD700" "color": "#ff6666"
}, },
{ {
"id": "f3", "id": "f3",
"name": "Semmel (extra)", "name": "Bratwurst",
"basePrice": 0.50, "basePrice": 5.5,
"color": "#FFCCCB" "color": "#ffffff"
},
{
"id": "f4",
"name": "Schnitzelsemmel",
"basePrice": 5.5,
"color": "#ffffff"
}, },
{ {
"id": "f5", "id": "f5",
"name": "Mehlspeise", "name": "Gemüselaibchensemmel",
"basePrice": 2.50, "basePrice": 5.5,
"color": "#FFE4E1" "color": "#ffffff"
},
{
"id": "f6",
"name": "Pommes",
"basePrice": 3.0,
"color": "#fff68f"
},
{
"id": "f7",
"name": "Gebäck",
"basePrice": 0.5
} }
], ],
"drinks": [ "drinks": [
{ {
"id": "d1", "id": "d1",
"name": "Bier / Radler 0.5", "name": "Bier / Radler 1/2",
"basePrice": 4.0, "basePrice": 4.5,
"color": "#F0E68C" "color": "#ff8866"
}, },
{ {
"id": "d2", "id": "d2",
"name": "Bier / Radler 0.3", "name": "Limo gespr. 1/2",
"basePrice": 3.50, "basePrice": 4.5,
"color": "#D2B48C" "color": "#ff8866"
}, },
{ {
"id": "d3", "id": "d3",
"name": "Limo", "name": "Limo Leitung 1/2",
"basePrice": 2.50, "basePrice": 4,
"color": "#FFDAB9" "color": "#90d990"
},
{
"id": "d8",
"name": "Limo Flasche",
"basePrice": 2.8,
"color": "#6a8acd"
},
{
"id": "d15",
"name": "Wein 1/8",
"basePrice": 2,
"color": "#90d990"
},
{
"id": "d7",
"name": "Wein 1/4",
"basePrice": 4,
"color": "#90d990"
}, },
{ {
"id": "d4", "id": "d4",
"name": "G'spritzter", "name": "Gespritzter 1/4",
"basePrice": 2.50, "basePrice": 2.8,
"color": "#E0FFFF" "color": "#6a8acd"
},
{
"id": "d5",
"name": "Sommerspritzer",
"basePrice": 3.00,
"color": "#FFDAB9"
}, },
{ {
"id": "d6", "id": "d6",
"name": "1/8 Wein", "name": "Gespritzer 1/2",
"basePrice": 5.6,
"color": "#6a8acd"
},
{
"id": "d5",
"name": "Sommerspritzer 1/2",
"basePrice": 4,
"color": "#90d990"
},
{
"id": "d10",
"name": "Alm/Cola/Weiß/Rot 1/4",
"basePrice": 3.2,
"color": "#d0e8ff"
},
{
"id": "d11",
"name": "Alm/Cola/Weiß/Rot 1/2",
"basePrice": 6.4,
"color": "#d0e8ff"
},
{
"id": "d12",
"name": "Mineral 1/3",
"basePrice": 2, "basePrice": 2,
"color": "#FFE4E1" "color": "#90d990"
},
{
"id": "d13",
"name": "Mineral 1l",
"basePrice": 4.5,
"color": "#ff8866"
},
{
"id": "d14",
"name": "Wein 1l",
"basePrice": 14,
"color": "#ff99cc"
} }
] ]
} }