You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
415 B
18 lines
415 B
from flask import Flask
|
|
from extensions import db
|
|
from routes.admin import admin_bp
|
|
|
|
app = Flask(__name__)
|
|
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///po_quest.db'
|
|
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
|
app.secret_key = 'supersecretkey'
|
|
|
|
# Initialiseer de database
|
|
db.init_app(app)
|
|
|
|
# Registreer de blueprint
|
|
app.register_blueprint(admin_bp)
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|