text: from flask import Flask
  from config import Config
  from flask_sqlalchemy import SQLAlchemy
  from flask_migrate import Migrate
  from flask_login import LoginManager
  from flask_wtf.csrf import CSRFProtect
  
  app = Flask(__name__)
  app.config.from_object(Config)
  db = SQLAlchemy(app)
  migrate = Migrate(app, db)
  login = LoginManager(app)
  csrf = CSRFProtect(app)
  
  from app.blueprints.printing import bp as printing_bp
  app.register_blueprint(printing_bp, url_prefix='/printing')
  
  from app.blueprints.auth import bp as auth_bp
  app.register_blueprint(auth_bp, url_prefix='/auth')
  
  from app import routes
  from app.models import *
  