Commit 07389430 authored by Imam M. Jah's avatar Imam M. Jah

app.py file

parent 04605ebd
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
# PostgreSQL database configuration
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://grocery_user:csc190@localhost/grocery_db'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db = SQLAlchemy(app)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment