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

View File

@@ -0,0 +1,19 @@
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
db = SQLAlchemy()
migrate = Migrate()
# import mysql.connector
# from app.config import Config
# class DBService:
# def connect(self):
# return mysql.connector.connect(
# host=Config.DB_HOST,
# user=Config.DB_USER,
# password=Config.DB_PASSWORD,
# database=Config.DB_NAME
# )