1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

adding master api project

This commit is contained in:
RaidMax
2018-04-18 15:46:53 -05:00
parent 5dca4e7065
commit 2f336c1291
32 changed files with 769 additions and 4 deletions

17
Master/master/__init__.py Normal file
View File

@ -0,0 +1,17 @@
"""
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