Building a SaaS Checkout Experience with Django and Stripe | SaaS App From Scratch
In this episode, @TechWithTim continues to develop a SaaS application in Django. Tim creates a course database model, connects it to an admin dashboard, and sets up a Stripe integration for purchasing the course.
New to Cloud Computing? Get started here with a $100 credit!
Chapters:
0:00 Introduction
0:49 Overview of Episode 2
1:19 Create a Database Model
1:53 Overview of ORM (Object Relational Mapping)
2:25 Continue Creating a Database Model
6:56 Make Migrations in the Database
7:20 Register the Course View in admin.py
9:15 Create a Super User + Run the server
10:00 Sign In to the Admin Panel
10:33 Create a Sample Course
11:20 Add a Course Directory: Course List
16:45 Add a Course Directory: Course Detail
17:55 Create a View for Course List & Course Detail
23:00 Fix Some Errors + Add Another Course
24:10 Stripe Integration Overview
25:17 Create a Stripe Account + Grab an API Key
26:40 Fill in Stripe Data in settings.py
28:00 Set Up URLs for Stripe + Create Views Functions
32:22 Import Functions/Models into views.py
35:30 Create a Checkout Session for Stripe
41:33 Run the Server + Fix Any Issues
43:16 Write the Stripe Webhook & Connect It
50:19 Download & Install ngrok
52:34 Set Up an Endpoint in Stripe Dashboard
54:08 Test Purchase + Fix Any Issues
56:40 Conclusion
Check out Tim’s GitHub for the code.
Read the doc for more information on building SaaS applications.
Learn more about deploying Django on Linode Marketplace.
Learn more about Stripe.
Subscribe to get notified of new episodes as they come out.
#AkamaiDeveloper #Django #saas #stripe
Product: Akamai, Django, SaaS; @TechWithTim