Gravity Logo
25+ hours of expert video content

Learn How To Build a SaaS Product

Learn everything you need to launch your own SaaS. From authentication and payments to UI design and security. Plus lots more.

Ready To Turn Your SaaS Idea Into Reality?

Not sure where to start? No problem. This course is for aspiring entrepreneurs and developers who want to break into the SaaS market.

What You'll Get

  • Learn how to build a SaaS product from scratch.
  • Level up your skills with industry-standard knowledge.
  • Create a REAL Instagram-style photo-sharing app.
  • Download the full source code to build your own product.
  • Support from your instructor and a community of learners.

This Course Won't

  • Teach you useless skills you cannot apply in the real world.
  • Overwhelm you with boring theory like a CS degree.
  • Use shortcuts, hacks or low quality code.
  • Skip over critical topics like security and testing.
  • Leave you unsupported to figure things out yourself.

Build This REAL SaaS Product

You'll build this beautiful, Instagram-style SaaS product from scratch.

What You'll Learn

  • Secure authentication
  • Subscription payments
  • Organisations, users and roles
  • File uploads with Amazon S3
  • Email notifications
  • REST API
  • Security
  • How to deploy your app
  • Plus lots more +

How to Build a SaaS Course Curriculum

25 hours of video across 17 modules of in-depth content.

1

Architecture Of a SaaS Application

  • Understanding client & server
  • What is an API?
  • Understanding Model-View-Controller
  • Single or multi-tenant SaaS?
  • Features of a SaaS app
2

Building Your Stack

  • Does tech stack matter?
  • Why use Javascript?
  • Which framework is best?
  • Setting up the project
  • Configuring the development environment
3

Data Modelling

  • Why start with data?
  • Relational or non-relational data?
  • Data modelling tools
  • Designing data models
  • Normalisation, foreign keys & cascades
4

Controllers & Models

  • Scaffolding the models
  • CRUD anatomy
  • ORMs and query builders
  • Creating the models & controllers
  • Security considerations
5

Building a REST API

  • What is a REST API?
  • Building the API
  • Global error handling
  • Throttling for security
  • Testing with Postman
6

Authentication Part 1 (Server-Side)

  • Issuing JWT auth tokens
  • Sign up and sign in flows
  • Protecting API endpoints
  • User roles and permissions
  • Creating scoped API keys
7

Email Notifications

  • Setting up Mailgun
  • Building a mail module
  • Avoid HTML table hell with JSON emails
  • Allowing users to customise email settings
  • Sending email notifications to users
8

Authentication Part 2 (Client-Side)

  • Client authentication best practices
  • Client routing & private routes
  • Sign in and sign up flows
  • Forgot password flow
  • Sign out flow
9

UI Design (Bonus Module)

  • Layout
  • Colour
  • Scale
  • Typography
  • Iconography
10

User Management

  • Understanding organisations and users
  • Building a user admin UI
  • Building a user invite flow
  • The user sign up flow
  • Multi-organisation logic
11

Build a SaaS Billing System With Stripe

  • Creating the billing UI
  • Upgrading, downgrading & cancelling
  • Updating the credit cards
  • Secure Customer Authentication (SCA)
  • Implementing free trials
12

Creating a Profile Page With Photo Uploads

  • Creating the public profile page
  • Creating the photo uploader
  • Storing photos in Amazon S3
  • Designing a photo grid
  • Photo detail page with comments
13

Building The Dashboard

  • Building a SaaS dashboard
  • Create the API key admin UI
  • Tracking photo views
  • Add photo metrics
  • Building a help view
14

Testing

  • Why should you test?
  • Types of tests
  • Writing unit tests
  • Writing integration tests
  • UI & user testing
15

SaaS Security Practices

  • Keep packages up to date
  • Preventing XSS attacks
  • Content security policies
  • Understanding CORS
  • Database security
16

Deploying a SaaS Application

  • Choosing a hosting platform
  • Configuring the production environment
  • Database SSL certificates
  • Deploying to Heroku
  • Building a deployment pipeline
17

Next Steps

  • Advanced features to consider
  • Launching your app
  • Marketing your app
  • Building an audience
  • Feedback

What's Included

Bonus Content: Level up with a SaaS Boilerplate

The Pro and Elite plans include a full SaaS boilerplate to kickstart your SaaS product at warp speed.

See Pricing

25 Hours Of Video

In-depth video tutorials walk you through each concept and line of code.

17 Modules

We'll cover everything from authentication to APIs, UI design and billing.

Discord Community

A private community to interact with your instructor and other students.

Downloadable Code

Get access to the Javascript code from each module, plus the complete codebase for the final SaaS product.

Practical Exercises

Each module focuses on building real SaaS features; you won't be overwhelmed with theory.

Working Product

Build a working SaaS product. Try Demo

Meet Your Instructor

Kyle Gawley working on laptop

Kyle Gawley Gravity Founder

  • 20 years commercial Javascript experience.
  • Built a tech startup to $5,000,000 sales.
  • Taught software development at Ulster University (UK).
  • Served on startup boards as a technical advisor.
  • Mentored hundreds of startups on accelerators.
  • Spoken at development conferences across the world.
  • 1,100+ people using my SaaS boilerplates.
  • 26,000+ followers who trust me on X/Twitter.

Join 100s of Happy Students

"Kyle is extremely knowledgeable and I've learned a ton from his How to Build a SaaS course, especially important architectural decisions, like what an API endpoint should look like versus a controller or model—and how they tie together. The beginning of the course is a bit slow, but it picks up from the 3rd module. Overall, the value that I gained learning strongly outweighed the cost of the course, and in general I enjoy Kyle's business practices and feedback style. Recommended to anyone looking to become a well-balanced JS developer."
Arrigo Lupori
Arrigo Lupori

Developer & Marketer

"I stumbled across the course after looking for a React/Node.js SaaS boilerplate as we were looking to move tech stacks for an existing project. I quickly picked the course up as well as the boilerplate, and wow was that a great choice. Kyle dives deep into so many concepts - and has given us new views on our existing approach to things such as user management and API security. The amount of insight in this course is so deep, specific to SaaS and valuable. None of the paid courses or free tutorials come remotely close. 5 stars!"
Andrew M
Andrew M

Founder

"I would like to build a SaaS by myself but need a structured course which can teach me all the steps to build it given that I have basic programming knowledge (JS and Python). I have been searching around in the Internet for a week and fortunately found this course. It is definitely the best course as the whole learning experience is driven by a practical project. Though sometimes I find it is hard to understand the programming concepts, Kyle is very helpful and patient to answer our questions in the Discord channel. I highly recommend this course!"

Turn Your SaaS Idea Into Reality Today

Frequently Asked Questions

Who is this course for?
What do I need to know before taking this course?
Will I get access to the source code for each module?
Can I use the code in my own project?
What if I have a question about one of the modules?
How long will it take to complete the course?
What will I get at the end of the course?
What is a SaaS boilerplate?