Learn Docker With My Newest Course

Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →

Build a SAAS App with Flask: Part 3

blog/cards/build-a-saas-app-with-flask-part-1.jpg

Learn about the Build a SAAS App with Flask project, this is part 3 of a 5 part series.

Quick Jump: Looking for the Other Parts of This Series? | The New Addition Is the Billing Component | On the Horizon

This Article Is Outdated

Build a SAAS App with Flask has been completely re-recorded from scratch as version 2.

Read About v2

The source code can be found here: https://github.com/nickjj/build-a-saas-app-with-flask

Looking for the Other Parts of This Series?

The New Addition Is the Billing Component

Here’s some of the features:

blog/build-a-saas-app-with-flask-v1-process-payment.jpg

Subscription

  • Easily add, delete or sync your custom plans with a payment gateway
  • Users can pick a plan from a pricing table
  • Users can upgrade, downgrade or cancel their subscription

blog/build-a-saas-app-with-flask-v1-change-plans.jpg

  • Users can update their billing information
  • Users can view their billing details and upcoming payments

blog/build-a-saas-app-with-flask-v1-subscription-details.jpg

  • Users can apply coupons to their subscription

Credit Card

  • Track when credit cards are about to expire
  • Notify users when their card is about to expire

blog/build-a-saas-app-with-flask-v1-expiring-card.jpg

Coupons

  • Coupons can be percent based or a fixed amount
  • Coupons can expire after a certain time
  • Coupons can have a max redemption attribute attached to them
  • Coupons can be randomly generated with human friendly codes
  • Coupons can be applied to new or existing subscriptions
  • Keep track of how often a coupon was used

blog/build-a-saas-app-with-flask-v1-manage-coupons.jpg

Admin Dashboard

  • Coupons can be managed through the dashboard
  • View any user’s subscription details
  • Cancel any user’s subscription
  • Dashboard stats related to billing

blog/build-a-saas-app-with-flask-v1-user-subscription-details.jpg

On the Horizon

A better test strategy and lots more tests for all of the billing components. We will be mocking out the payment gateway APIs but do end to end tests on our SAAS app.

Never Miss a Tip, Trick or Tutorial

Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per month (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.



Comments