from flask import Flask, jsonify
from flask_restful import Api
from flask_jwt import JWT, timedelta



# Resources
from Resources.CheckGrammarResource import CheckGrammarResource

app = Flask(__name__)

# Load config File
app.config.from_pyfile('config.cfg')
app.secret_key = app.config.get('SECRET_KEY')

# Init Rest API endpoints
api = Api(app)
api.add_resource(CheckGrammarResource, '/check-grammar')

if __name__ == '__main__':
    app.run()
7d0a0cae8376265143471b29ae4e3d88a873aea1
<mask token>

<mask token>
app.config.from_pyfile('config.cfg')
<mask token>
api.add_resource(CheckGrammarResource, '/check-grammar')
if __name__ == '__main__':
    app.run()

<mask token>
app = Flask(__name__)
app.config.from_pyfile('config.cfg')
app.secret_key = app.config.get('SECRET_KEY')
api = Api(app)
api.add_resource(CheckGrammarResource, '/check-grammar')
if __name__ == '__main__':
    app.run()

from flask import Flask, jsonify
from flask_restful import Api
from flask_jwt import JWT, timedelta
from Resources.CheckGrammarResource import CheckGrammarResource
app = Flask(__name__)
app.config.from_pyfile('config.cfg')
app.secret_key = app.config.get('SECRET_KEY')
api = Api(app)
api.add_resource(CheckGrammarResource, '/check-grammar')
if __name__ == '__main__':
    app.run()

from flask import Flask, jsonify
from flask_restful import Api
from flask_jwt import JWT, timedelta



# Resources
from Resources.CheckGrammarResource import CheckGrammarResource

app = Flask(__name__)

# Load config File
app.config.from_pyfile('config.cfg')
app.secret_key = app.config.get('SECRET_KEY')

# Init Rest API endpoints
api = Api(app)
api.add_resource(CheckGrammarResource, '/check-grammar')

if __name__ == '__main__':
    app.run()