#7 Basic flask app. Setup routes, DB, and made a user model. Made initial migrations
This commit is contained in:
11
backend/main.py
Normal file
11
backend/main.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import dotenv
|
||||
dotenv.load_dotenv()
|
||||
|
||||
from app import create_app, db
|
||||
|
||||
app = create_app()
|
||||
|
||||
@app.shell_context_processor
|
||||
def make_shell_context():
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user