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 |
|---|---|
| 01 | What Is Flask |
| 02 | Flask Environment and Installation |
| 03 | Your First Flask Application |
| 04 | Configuration and SECRET_KEY |
Routing, Request, and Response (05–07)
| # | Chapter |
|---|---|
| 05 | Routing and URLs |
| 06 | The Request Object |
| 07 | Responses and JSON API |
Templates and Forms (08–10)
| # | Chapter |
|---|---|
| 08 | Jinja2 Templates |
| 09 | Forms and Flask-WTF |
| 10 | Session, Flash, and Cookies |
Application Structure (11–12)
| # | Chapter |
|---|---|
| 11 | Error Handling and Logging |
| 12 | Blueprints and Application Factory |
Data and Authentication (13–16)
| # | Chapter |
|---|---|
| 13 | Flask-SQLAlchemy and Models |
| 14 | Database Migrations With Flask-Migrate |
| 15 | User Authentication With Flask-Login |
| 16 | JWT API Authentication (Optional) |
Uploads, Extensions, Testing, and CORS (17–20)
| # | Chapter |
|---|---|
| 17 | File Uploads and Static Files |
| 18 | Hooks and Flask Extensions |
| 19 | Testing Flask Applications |
| 20 | CORS and Frontend Integration |
Optional Topics and Security (21–22)
| # | Chapter |
|---|---|
| 21 | Caching and Background Tasks (Optional) |
| 22 | Flask Security Best Practices |
Deployment and CI (23–24)
| # | Chapter |
|---|---|
| 23 | Deploying With Gunicorn and Nginx |
| 24 | Flask Docker and CI |
Projects (25–28)
| # | Chapter |
|---|---|
| 25 | Project: Server-Rendered Blog |
| 26 | Project: REST API |
| 27 | Project: Todo Full-Stack App |
| 28 | Project: Production Deployment |
Troubleshooting and Resources (29–31)
| # | Chapter |
|---|---|
| 29 | Flask Troubleshooting |
| 30 | Flask Resources and Book Recommendations |
| 31 | Flask Chapter Index (this page) |
Related Tracks
| Track | Why |
|---|---|
| Python | Language and tooling |
| MySQL | Database behind SQLAlchemy |
| Git | Version control and CI |
| Linux | Server operations |
| Nginx | Reverse proxy and TLS |
| HTML | Markup for templates |
| MongoDB | Document APIs (Flask often pairs with SQL + optional Mongo) |
| FastAPI | Typed JSON APIs alongside Flask HTML |
| Vue | SPA 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 logo?
/category-logos/flask.png in category_meta_info.json.