create project and create model and dashboard

This commit is contained in:
2025-12-11 10:16:43 +05:30
parent 2371202ac3
commit 2e62320167
55 changed files with 1072 additions and 0 deletions

9
app/routes/user.py Normal file
View File

@@ -0,0 +1,9 @@
from flask import Blueprint, render_template
from app.services.user_service import UserService
user_bp = Blueprint("user", __name__, url_prefix="/user")
@user_bp.route("/list")
def list_users():
users = UserService().get_all_users()
return render_template("users.html", users=users, title="Users")