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

Google, IBM & Meta Certificates – 40% Off a Year
One Coursera Plus subscription covers most Professional Certificates on Coursera. 40% off a full year through Dec 2.
Unlock All Certificates

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.

  • Intro to Flask
  • Creating an Application
  • Templates
  • Create a Flask App
  • Flask Basics
  • Static Files
  • Template Inheritance
  • Template Inheritance
  • Forms
  • Set Up a Form
  • Flask Templates, Routes, and Inheritance

Connecting to a Database with SQLAlchemy

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

  • Updates to Flask-SQLAlchemy
  • SQLAlchemy and Flask
  • Creating Pets
  • Working with a Plant Database
  • Read, Update, Delete
  • Delete Route
  • Create a 404 Route and Template
  • Application Context
  • Flask with SQLALchemy Quiz

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.