browser-go-api/server.py
2019-10-05 22:40:02 -07:00

17 lines
No EOL
348 B
Python

from app import create_app, db
# Blueprints
from api.api import api
from auth.auth import auth
import configuration.models_mount
from flask_migrate import Migrate
if __name__ == '__main__':
app = create_app()
app.register_blueprint(api)
app.register_blueprint(auth)
migrate = Migrate(app, db)
app.run(port=8000, debug=True)