Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Flask with SQLAlchemy Basics Course (How To)

via Treehouse

Overview

Learn how to use the popular Python framework for creating websites and web applications, Flask. Then upgrade your website with a database connection using SQLAlchemy.

What you'll learn

  • Creating a website or web app with Flask
  • Connecting a Flask website with an SQLite database using SQLAlchemy
  • Creating HTML templates
  • Connecting static files

Syllabus

Creating a Basic Website with Flask

Use Python's Flask framework to create a website.

Chevron 11 steps
  • Intro to Flask

    6:24

  • Creating an Application

    6:36

  • Templates

    7:01

  • Create a Flask App

    3 objectives

  • Flask Basics

    6 questions

  • Static Files

    4:07

  • Template Inheritance

    17:04

  • Template Inheritance

    3 objectives

  • Forms

    6:00

  • Set Up a Form

    3 objectives

  • Flask Templates, Routes, and Inheritance

    5 questions

Connecting to a Database with SQLAlchemy

Use Flask's SQLAlchemy connection, flask-sqlalchemy, to create and interact with a database for your website.

Chevron 9 steps
  • instruction

    Updates to Flask-SQLAlchemy

  • SQLAlchemy and Flask

    12:47

  • Creating Pets

    14:34

  • Working with a Plant Database

    3 objectives

  • Read, Update, Delete

    16:57

  • Delete Route

    1 objective

  • Create a 404 Route and Template

    4:45

  • instruction

    Application Context

  • Flask with SQLALchemy Quiz

    5 questions

Taught by

Megan Amendola

Reviews

Start your review of Flask with SQLAlchemy Basics Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.