import os
from datetime import timedelta,datetime

class Config:
    PORT = os.environ.get('PORT')
    ROOT = os.path.abspath(os.path.dirname(__file__)),
    SECRET = 'MtfJMDyybMocCpyivabhDd4BTV998EJazZFtJAKRLJAvb6LZJ'
    SQLALCHEMY_DATABASE_URI = 'sqlite:///pydo.db'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    EXPIRATION = {
        "exp": datetime.utcnow() + timedelta(days=2)
    }
    # SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:MtfJpyivabhLJAvb6LZJMDyybMocC@localhost/'