2020-03-23 21:17:16 +01:00
|
|
|
from flask import Flask
|
|
|
|
from config import Config
|
|
|
|
from flask_sqlalchemy import SQLAlchemy
|
2020-04-02 19:33:04 +02:00
|
|
|
from flask_migrate import Migrate
|
2020-04-15 00:29:59 +02:00
|
|
|
from flask_marshmallow import Marshmallow
|
2020-03-23 21:17:16 +01:00
|
|
|
|
|
|
|
app = Flask(__name__)
|
|
|
|
app.config.from_object(Config)
|
|
|
|
db = SQLAlchemy(app)
|
2020-04-02 19:33:04 +02:00
|
|
|
migrate = Migrate(app, db)
|
2020-04-15 00:29:59 +02:00
|
|
|
ma = Marshmallow(app)
|
2020-03-23 21:17:16 +01:00
|
|
|
|
2020-04-28 20:49:13 +02:00
|
|
|
from app import routes, models, schema
|