adaugat lab4 si lab5

Signed-off-by: hellisabove <robertnedela15@gmail.com>
This commit is contained in:
hellisabove
2026-05-25 11:13:40 +03:00
parent 8b7c9a5527
commit 35893a4012
78 changed files with 60025 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Imported symbols here please!
from flask import Flask, request, render_template, redirect, session
from .pages.index import index_pages
from .pages.auth import auth_pages
from .pages.iot_api import iot_api
# Initialize the Flask application
# Note: static folder means all files in there will be automatically offered over HTTP
app = Flask(__name__, static_folder="../public",
template_folder="../templates")
app.secret_key = "gxnMaYjinQ27DeBwgKsDyuDQO"
app.register_blueprint(index_pages)
app.register_blueprint(auth_pages)
app.register_blueprint(iot_api)