Welcome to

Fullstack Flask: Build a Complete SaaS App with Flask

Example Code Download

You can download the complete example code by clicking here.

Intro

1 lesson 1m total

INTRODUCTION

1:28 minutes

Building your first Flask Application

4 lessons 23m total

LESSON

5:52 minutes

Using an API

Building an stock quote application that uses an external API

LESSON

7:54 minutes

Deploying to Production

Deploying our Stock Quote application using Heroku

LESSON

6:46 minutes

Rendering Pages

3 lessons 26m total

Rendering Pages

- stock-app (folder) - server.py - requirements.txt - Procfile (optional) - templates (folder) - stock_quote.html (your template)

LESSON

11:32 minutes

LESSON

14:45 minutes

LESSON

Growing our application with Blueprints

2 lessons 25m total

Growing our application with Blueprints

`https://financialmodelingprep.com/api/v3/financials/income-statement/AAPL`

LESSON

12:33 minutes

LESSON

13:20 minutes

Application Factories & Configuration

1 lesson 14m total

Using an Application Factory

`FLASK_ENV="development" FLASK_APP="stock_app:create_app" flask run`

LESSON

14:53 minutes

Testing

2 lessons 26m total

LESSON

12:10 minutes

Part II: Building Larger Flask Applications

2 lessons 10m total

LESSON

2:27 minutes

LESSON

7:45 minutes

Databases & ORMs

2 lessons 29m total

Databases & ORMs

"SQLAlchemy in general just has a much larger featureset and it's the only ORM for Python which allows you to take full advantage of your database and does not stand in your way. It exposes all features of your underlying database if you want and can be heavily fine tuned. ... [The] simple cases [are] not where SQLAlchemy shines. It's the more complex situations which you can't do at all in Django that work nicely in SQLAlchemy.

LESSON

12:27 minutes

Using SQLAlchemy

`FLASK_ENV=development FLASK_APP="yumroad:create_app" flask shell`

LESSON

16:54 minutes

Building pages using our models

2 lessons 19m total

LESSON

4:41 minutes

Handling Forms (with WTForms)

3 lessons 33m total

LESSON

8:15 minutes

Logins

3 lessons 45m total

User Registration

`FLASK_APP="yumroad:create_app" flask shell`

LESSON

16:32 minutes

LESSON

14:48 minutes

LESSON

13:48 minutes

DB Relationships & Migrations

3 lessons 32m total

Implementing Relationships

Using SQLAlchemy for relationships between models

LESSON

15:51 minutes

LESSON

11:32 minutes

Sending emails

1 lesson 16m total

LESSON

16:51 minutes

Payments

3 lessons 44m total

LESSON

7:33 minutes

LESSON

22:21 minutes

LESSON

15:02 minutes

Assets

1 lesson 21m total

LESSON

21:06 minutes

Part III: Deploying to Production

Errors

1 lesson 12m total

LESSON

12:03 minutes

Delayed Jobs

1 lesson 16m total

LESSON

16:10 minutes

Improving Performance

1 lesson 20m total

LESSON

20:25 minutes

Deployment

1 lesson 14m total

LESSON

14:19 minutes

Part IV: Ignite (SaaS Boilerplate)

1 lesson 2m total

LESSON

2:39 minutes

Using Ignite

3 lessons 13m total

LESSON

3:18 minutes

LESSON

5:06 minutes

LESSON

5:26 minutes

Changelog

2 lessons