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
385 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. from flask import Flask
  2. import bot_app.fulfillment.utility as util
  3. from bot_app.fulfillment.controllers import fulfillment
  4. app = Flask(__name__)
  5. app.config.from_object('config')
  6. app.register_blueprint(fulfillment)
  7. util.init_app(app)
  8. @app.route('/')
  9. def index():
  10. return 'Service Working!!!'
  11. @app.route('/test')
  12. def test():
  13. return util.simple_response('Hello World Test!!')