<filename>config.py
import os

# You need to replace the next values with the appropriate values for your configuration

basedir = os.path.abspath(os.path.dirname(__file__)) # Find the dir where this file is in (root dir of the api)
SQLALCHEMY_ECHO = False
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/bnh"
<filename>config.py
import os

# You need to replace the next values with the appropriate values for your configuration

basedir = os.path.abspath(os.path.dirname(__file__)) # Find the dir where this file is in (root dir of the api)
SQLALCHEMY_ECHO = False
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/bnh"
# You need to replace the next values with the appropriate values for your configuration # Find the dir where this file is in (root dir of the api)