Official docs outline
16 sections- Quickstart
Minimal app, routing, variable rules, HTTP methods, request data, responses, redirects, errors, sessions, and message flashing.
- Application Setup and Factory
create_app application factory, instance folder, configuration loading, and project layout.
- Lifecycle and Contexts
How a request is handled, application context, request context, g, current_app, and context proxies.
- Routing and Class-based Views
URL rules, route converters, MethodView, view decorators, method dispatching, and building APIs with views.
- Templates
Jinja setup, autoescaping, context processors, filters, template inheritance, and rendering templates.
- Blueprints
Modular applications, registering and nesting blueprints, blueprint resources, URL building, and blueprint error handlers.
- Configuration
Config object, loading from Python, files and environment variables, development versus production, and instance folders.
- Databases and SQLAlchemy
Connecting to a database per request, teardown, schema initialization, and using SQLAlchemy with Flask.
- Error Handling
Error handlers, custom error pages, returning JSON API errors, and logging and debugging errors.
- Testing
Test client, fixtures, CLI runner, session modification, and tests needing an active context.
- Security Considerations
XSS, CSRF, JSON security, security headers, and host header validation.
- Signals and Extensions
Blinker signals, subscribing and sending signals, and using and building Flask extensions.
- Command Line Interface
flask command, application discovery, custom commands, dotenv, and the development server.
- Async and Await
Async views, performance tradeoffs, background tasks, gevent, and when to use Quart.
- Patterns for Flask
Application factories, file uploads, caching, view decorators, WTForms validation, streaming, and Celery background tasks.
- Deploying to Production
WSGI servers like Gunicorn and uWSGI, reverse proxies, and hosting platforms.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.