Flask Chapter Index

Introduction

This index lists all 31 chapters in the Hello Code Flask track, grouped by topic. Use it to jump to a lesson or compare coverage with frontend/gen_article_plan/flask.md.

Prerequisites

  • None—this page is a map, not a lesson

Getting Started (01–04)

#Chapter
01What Is Flask
02Flask Environment and Installation
03Your First Flask Application
04Configuration and SECRET_KEY

Routing, Request, and Response (05–07)

#Chapter
05Routing and URLs
06The Request Object
07Responses and JSON API

Templates and Forms (08–10)

#Chapter
08Jinja2 Templates
09Forms and Flask-WTF
10Session, Flash, and Cookies

Application Structure (11–12)

#Chapter
11Error Handling and Logging
12Blueprints and Application Factory

Data and Authentication (13–16)

#Chapter
13Flask-SQLAlchemy and Models
14Database Migrations With Flask-Migrate
15User Authentication With Flask-Login
16JWT API Authentication (Optional)

Uploads, Extensions, Testing, and CORS (17–20)

#Chapter
17File Uploads and Static Files
18Hooks and Flask Extensions
19Testing Flask Applications
20CORS and Frontend Integration

Optional Topics and Security (21–22)

#Chapter
21Caching and Background Tasks (Optional)
22Flask Security Best Practices

Deployment and CI (23–24)

#Chapter
23Deploying With Gunicorn and Nginx
24Flask Docker and CI

Projects (25–28)

#Chapter
25Project: Server-Rendered Blog
26Project: REST API
27Project: Todo Full-Stack App
28Project: Production Deployment

Troubleshooting and Resources (29–31)

#Chapter
29Flask Troubleshooting
30Flask Resources and Book Recommendations
31Flask Chapter Index (this page)
TrackWhy
PythonLanguage and tooling
MySQLDatabase behind SQLAlchemy
GitVersion control and CI
LinuxServer operations
NginxReverse proxy and TLS
HTMLMarkup for templates
MongoDBDocument APIs (Flask often pairs with SQL + optional Mongo)
FastAPITyped JSON APIs alongside Flask HTML
VueSPA client—Vite proxy and JWT (17, 25)

Suggested Learning Paths

Web fundamentals: 01 → 12, then 08 → 10

Full-stack app: 01 → 16, skip 16 if no JWT, then 27

API-only: 01 → 07, 12 → 16, 20, 26

Production: 22 → 24, 28, plus Nginx and Linux

FAQ

Where is the planning document?

Chinese outline: frontend/gen_article_plan/flask.md.

Skip optional chapters?

Yes—16 (JWT), 21 (Celery/cache) until needed.

Suggested reading order?

Follow chapter numbers 01→31, or complete 01→12 then jump to a project (25–27).

Python basics duplicate?

Python track covers syntax; Flask track repeats only web-specific setup.

Report a typo?

Improve docs via Git fork workflow.

/category-logos/flask.png in category_meta_info.json.