"""WSGI entry point for the application."""

import os
from dotenv import load_dotenv

# Load environment variables from .env file
load_dotenv()

from shopdb import create_app

app = create_app(os.environ.get('FLASK_ENV', 'development'))

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5001, debug=True)
