from flask import Blueprint
# from controller import user_controller
from logging import config
from json import load
# import auth
# import logger

# Generate Router Instance
router = Blueprint('router', __name__)

@router.route("/", methods=['GET'])
# @logger.http_request_logging
# @auth.requires_auth
def hello_world():
    return "Hello World!!"

# @router.route("/api/v1/users/getUserList", methods=['GET'])
# @logger.http_request_logging
# @auth.requires_auth
# def api_v1_users_get_user_list():
#     return user_controller.get_user()

# @router.after_request
# def after_request(response):
#   # response.headers.add('Access-Control-Allow-Origin', '*')
#   response.headers.add('Access-Control-Allow-Headers', 'Content-Type,Authorization')
#   response.headers.add('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS')
#   return response
from flask import Blueprint
# from controller import user_controller
from logging import config
from json import load
# import auth
# import logger

# Generate Router Instance
router = Blueprint('router', __name__)

@router.route("/", methods=['GET'])
# @logger.http_request_logging
# @auth.requires_auth
def hello_world():
    return "Hello World!!"

# @router.route("/api/v1/users/getUserList", methods=['GET'])
# @logger.http_request_logging
# @auth.requires_auth
# def api_v1_users_get_user_list():
#     return user_controller.get_user()

# @router.after_request
# def after_request(response):
#   # response.headers.add('Access-Control-Allow-Origin', '*')
#   response.headers.add('Access-Control-Allow-Headers', 'Content-Type,Authorization')
#   response.headers.add('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS')
#   return response
# from controller import user_controller # import auth # import logger # Generate Router Instance # @logger.http_request_logging # @auth.requires_auth # @router.route("/api/v1/users/getUserList", methods=['GET']) # @logger.http_request_logging # @auth.requires_auth # def api_v1_users_get_user_list(): #     return user_controller.get_user() # @router.after_request # def after_request(response): #   # response.headers.add('Access-Control-Allow-Origin', '*') #   response.headers.add('Access-Control-Allow-Headers', 'Content-Type,Authorization') #   response.headers.add('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS') #   return response