2023-03-18 22:49:25 +00:00
|
|
|
from flask import Flask
|
|
|
|
from flask_sqlalchemy import SQLAlchemy
|
2023-03-19 00:16:53 +00:00
|
|
|
from flask_cors import CORS
|
2023-03-18 22:49:25 +00:00
|
|
|
|
|
|
|
app = Flask(__name__)
|
2023-03-19 08:02:46 +00:00
|
|
|
# CORS(app, supports_credentials=True)
|
2023-03-18 22:49:25 +00:00
|
|
|
app.config.from_pyfile('config.py')
|
|
|
|
|
|
|
|
db = SQLAlchemy(app)
|
|
|
|
|
|
|
|
from app import routes
|