Skip to content

Flaskteroids Flaskteroids

Flaskteroids is a Python MVC framework built on Flask, SQLAlchemy, and Celery. It brings models, routes, templates, forms, background jobs, and email into a shared application workflow.

These guides teach you how to build with Flaskteroids. Start with the tutorial if you are new, or choose a component guide for the feature you are working on.

Build your first application

Getting started walks you through a product catalog. You will create a model, display products, and build forms to add, edit, and delete them. You need basic Python and HTML knowledge, but no experience with the underlying libraries.

The rest of the store tutorial adds one feature at a time:

  1. Login and product images — protect catalog changes and upload a photo.
  2. Restock notifications — connect subscriptions, inventory changes, background jobs, and email.
  3. Test the store — check the workflows you have built.
  4. Prepare for deployment — review security and try the generated Docker setup.

Each part continues in the same application. You can stop after the first part with a working catalog.

Find a guide

Component guides explain a feature through focused examples. They assume you have a generated application, but do not require completing the store tutorial.

Models

  • Model basics — create, query, validate, and save records.
  • Associations — connect models and work with related records.
  • Callbacks — run shared behavior during a record's lifecycle.
  • Fields — choose column types and understand submitted values.
  • Attribute encryption — protect sensitive model data.

Routing and controllers

Views and frontend

Background work and email

Files and rich text

  • Attachments — upload files and control download access.
  • Rich text — edit and display formatted content safely.

Application setup and testing

Unless a guide says otherwise, run commands from your application root with bin/flask. You do not need to activate the virtual environment.

To help improve these pages, see Writing guides.