text: from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  from flask_bcrypt import Bcrypt
  from flask_login import LoginManager
  from flask_mail import Mail
  import os
  
  from dotenv import load_dotenv
  load_dotenv()
  
  app = Flask(__name__)
  
  app.config["SECRET_KEY"] = os.environ.get("SECRET_KEY")
  app.config["SQLALCHEMY_DATABASE_URI"] = os.environ.get("SQLALCHEMY_DATABASE_URI")
  db = SQLAlchemy(app)
  
  bcrypt = Bcrypt(app)
  
  login_manager = LoginManager(app)
  login_manager.login_view = 'login'
  login_manager.login_message_category = 'info'
  
  app.config['MAIL_SERVER'] = 'smtp.gmail.com'
  app.config['MAIL_PORT'] = 587
  app.config['MAIL_USE_TLS'] = True
  app.config['MAIL_USERNAME'] = os.environ.get("USERNAME")
  app.config['MAIL_PASSWORD'] = os.environ.get("PASSWORD")
  mail = Mail(app)
  
  app.config["UPLOAD_FOLDER"] = os.environ.get("UPLOAD_FOLDER")
  
  
  from classroom import routes