18 lines
339 B
Python
18 lines
339 B
Python
|
"""
|
||
|
The flask application package.
|
||
|
"""
|
||
|
|
||
|
from flask import Flask
|
||
|
from flask_restful import Resource, Api
|
||
|
from flask_jwt_extended import JWTManager
|
||
|
from master.context.base import Base
|
||
|
|
||
|
app = Flask(__name__)
|
||
|
app.config['JWT_SECRET_KEY'] = 'my key!'
|
||
|
jwt = JWTManager(app)
|
||
|
api = Api(app)
|
||
|
ctx = Base()
|
||
|
|
||
|
import master.routes
|
||
|
import master.views
|