The Flask Mega Tutorial by Miguel Grinberg logo

The Flask Mega Tutorial by Miguel Grinberg

Free

Learn to create web applications with Python and Flask

FreeFree tier
Type
Open Source

About The Flask Mega Tutorial by Miguel Grinberg

The Flask Mega-Tutorial by Miguel Grinberg is a comprehensive, free online tutorial series that teaches how to build web applications using Python and the Flask framework. The 2024 edition consists of 23 chapters covering everything from setting up a Flask project and templates to databases, user logins, API development, deployment, and more. Each chapter includes code examples hosted on GitHub, with browse, zip, and diff links for easy tracking. The tutorial is also available as an e-book and paperback on Amazon.

Key Features

23-part tutorial series covering Flask fundamentals to advanced topics
Step-by-step instructions with code examples hosted on GitHub
Includes project structure, templates, web forms, databases, user authentication, pagination, email support, Ajax, full-text search, deployment, APIs, and more
Available as free online articles or purchasable e-book/paperback
Updated to 2024 edition with modern Flask practices

Pros & Cons

Pros
  • Completely free and open-access online
  • Covers a wide range of topics in a logical progression
  • Practical, hands-on with a real project (Microblog)
  • Each chapter includes GitHub diffs to track changes
  • Written by Miguel Grinberg, a well-known Flask expert
Cons
  • Requires basic knowledge of Python programming
  • Not a tool but an educational resource; no interactive features
  • Lengthy series may be overwhelming for complete beginners

Best For

Learning Flask web development from scratchBuilding a real-world microblog application as a learning projectReference for specific Flask features like forms, databases, and APIsPreparing for production deployment of Flask apps

FAQ

Is the Flask Mega-Tutorial free?
Yes, the full tutorial is available for free on Miguel Grinberg's blog. A purchasable e-book and paperback version is also available on Amazon.
What version of Flask does the tutorial use?
The 2024 edition covers modern Flask practices and is updated to work with Python 3.12 and current Flask versions.
What will I build in this tutorial?
You will build a microblog application called Microblog, featuring user accounts, posts, followers, search, and deployment.
Do I need to install anything to follow along?
Yes, you need Python installed on your computer, and you will install Flask and other packages using pip.