Flask Flask is a micro web framework for Python. It's minimal by design — you choose your ORM, auth system, and structure. Extensions fill in the gaps. Installation Project Structure Application Factory Configuration Routes and Blueprints Models API Routes Templates Error Handling Testing Running Key Patterns - Always use the application factory pattern for testability - Use blueprints to organize code by feature - Initialize extensions separately from to avoid circular imports - Use (Flask-Migrate) for schema changes — never in production - Access config via inside request context - Use from…