Tutorial series

How To Build Web Applications with Flask

How To Build Web Applications with Flask

Introduction

Flask banner image

Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python Language. It gives developers flexibility and is an accessible framework for new developers because you can build a web application quickly using only a single Python file. Flask is also extensible and doesn’t force a particular directory structure or require complicated boilerplate code before getting started. Learning Flask will allow you to quickly create web applications in Python. You can take advantage of Python libraries to add advanced features to your web application, like storing your data in a database, or validating web forms.

Tutorials in series

Tutorial

How To Create Your First Web Application Using Flask and Python 3

Tutorial

How To Use Templates in a Flask Application

Tutorial

How To Handle Errors in a Flask Application

Tutorial

How To Use Web Forms in a Flask Application

Tutorial

How To Use and Validate Web Forms with Flask-WTF

Tutorial

How To Use an SQLite Database in a Flask Application

Tutorial

How To Use a PostgreSQL Database in a Flask Application

Tutorial

How To Use MongoDB in a Flask Application

Tutorial

How to Use Flask-SQLAlchemy to Interact with Databases in a Flask Application

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.