#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @File     : base_app
# @Author   : LiuYan
# @Time     : 2021/4/21 9:30

import json

from flask import Flask, Blueprint, request, jsonify, render_template
from flask_cors import *

from base.config.base_config import DB_URI
from utils.log import logger

app = Flask(__name__, static_url_path='', static_folder='../../static', template_folder='../../static')

CORS(app, supports_credentials=True)

app.config['SQLALCHEMY_DATABASE_URI'] = DB_URI
