from decouple import config

from app import create_app

# Create the Flask application
app = create_app()

if __name__ == "__main__":
    """
    This is the main entry point for the program
    """
    
    host  = config('host', default='localhost', cast=str)
    port  = config('port', default=5000, cast=int)
    debug = config('debug', default=True, cast=bool)
     
    app.run(host=host, port=port, debug=debug, )