Flask-App angelegt

This commit is contained in:
Carina_Hirschle 2026-06-17 15:23:47 +02:00
parent c2ccada6c0
commit f537b60c1d
2 changed files with 15 additions and 11 deletions

16
.gitignore vendored
View file

@ -1,11 +1,5 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Notenrechner</title>
</head>
<body>
<h1>Notenrechner</h1>
<script src="js/notenrechener.js"></script>
</body>
</html>
*.save
*.swp
*~
.DS_Store
venv/

10
app.py Normal file
View file

@ -0,0 +1,10 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hallo aus meiner Flask-App!"
if __name__ == "__main__":
app.run(host="0.0.0.0", port=9009)