text: # -*- encoding: utf-8 -*-
  
  from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  from flask_marshmallow import Marshmallow
  import os
  
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  app = Flask(__name__)
  
  app.config.from_object("app.configuration.Config")
  
  db = SQLAlchemy(app)
  
  ma = Marshmallow(app)
  
  # Setup database
  @app.before_first_request
  def initialize_database():
      db.create_all()
  
  
  from app import views, models
  