import os

class Config:
    '''
    Main configurations class
    '''
    NEWS_API_KEY = os.environ.get('NEWS_API_KEY')
    NEWS_API_BASE_URL = 'http://newsapi.org/v2/{}?apiKey=fe108ac1985c493c838e8844be6550b2'
    SECRET_KEY = os.environ.get('SECRET_KEY')
    
class ProdConfig(Config):
    '''
    Production configuration class that inherits from the main configurations class
    '''
    pass

class DevConfig(Config):
    '''
    Configuration class for development stage of the app
    '''
    DEBUG = True
    
config_options = {
    'development': DevConfig,
    'production': ProdConfig
}