Learn How To Build a SaaS Product From Scratch

onTrustPilot logo

Building a SaaS Product Is Hard

There's a Lot to Build:

  • Secure authentication system
  • User interface design
  • Organisations, users and roles
  • Billing and payments system
  • API design
  • Writing tests
  • Plus loads more

In This Course You Will:

  • Learn everything you need to build a SaaS app
  • Level up your skills with industry-standard Javascript knowledge
  • Eliminate the pain of learning how to build a SaaS product
  • Learn by step-by-step code video walkthroughs
  • Create an Instagram-style photo-sharing app with React & Node.js
  • Get your hands dirty writing code in every lesson

In This Course You Will Not:

  • Overwhelm you with theory like a computer science degree
  • Teach you useless skills that you cannot apply to your own product
  • Use shortcuts, hacks or poor quality, buggy code

What's Included

30+ 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.

Experienced Instructor

With over 10+ years of commercial experience building SaaS products.

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.

The How To Build A SaaS Curriculum


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
  • Application walk-through

Create Your Stack

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

Data Modelling

  • Why start with data?
  • Relational or non-relational data?
  • Data modelling tools
  • Designing the data models for your application
  • Working with non-relational data

Controllers & Models

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

Building a REST API

  • What is REST?
  • REST API frameworks
  • Building the API
  • Handling errors
  • Testing with Postman
  • Documenting your API

Authentication Part 1 (Server-Side)

  • Registering & authenticating users
  • Password security
  • Locking down the API with tokens
  • Introduction to roles and permissions
  • Generating scoped API keys

Email Communications

  • Building an email module
  • Avoid HTML table hell with JSON emails
  • Sending email notifications to users

Authentication Part 2 (Client-Side)

  • Creating the sign-in form view
  • Authenticating the user
  • Client security best practices
  • Sign-in and forgot password flows
  • API key management UI
  • Signing out a user

Bonus: UI Design School

  • Layout
  • Color
  • Scale
  • Typography
  • Iconography
  • Tools and resources

User Management

  • Understanding roles and permissions
  • Adding a new role
  • Building the user invite flow
  • Showing or hiding UI features for users

Build a SaaS Billing System with Stripe

  • Anatomy of SaaS billing
  • Creating the billing UI
  • Adding a customer to a subscription plan
  • Upgrading & downgrading subscriptions
  • Updating the customer's credit card
  • Cancelling subscriptions

Creating a Profile Page With Photo Uploads

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

Building The Dashboard

  • Adding a metrics dashboard
  • Making API calls
  • Building your first components
  • Adding an update profile form

Writing Tests

  • Should you test?
  • Creating unit tests
  • Writing integration tests
  • End-to-end testing
  • User testing

SaaS Security Practices

  • Keep packages up to date
  • Content Security Policies
  • Understanding CORS
  • Input sanitisation
  • Penetrating testing resources

Deploying Your SaaS Application

  • Choosing a hosting platform
  • Configuring the production environment
  • Building a deployment pipeline

Next Steps

  • Advanced features to consider
  • Finding users for your app
  • Developing your skill set
onTrustPilot logo
  • "Gravity provided the foundation to jumpstart my SaaS product. The attention to detail, thoughtful approach, and creative inclination provided the most ideal outcome. In my capacity as a UX Lead at Apple I’ve worked with countless engineers — of which Kyle stands ahead of the pack. I hope to continue leveraging Gravity long into the future."
    Brad Bitler
    Designer at Apple & Rafters Founder
  • "I saved months of time with Gravity and was able to focus on my main features instead of writing tests, setting up Stripe, Mailgun and figuring out authentication. The Slack support has been invaluable. Not only is Kyle extremely responsive, but other members of the community have even helped me late at night! Building a SaaS as a solo founder can be lonely so knowing you have the support of Gravity is huge. I was able to build my app in 8 weeks instead of months and months."
    CrowdFox Founder
  • "The code patterns are beautiful, the code is neat and well organized. I have been able to do everything I would like to do, spend a little time optimizing, and then it's done. Gravity turned a major headache into many weeks of saved time."
    Dave Young
    Founder, Magnus Rush

30% OFF Early Bird Pricing

Course Only




Already purchased the boilerplate?  Get in touch for a discount

Meet Your Instructor

Hi, I’m Kyle – I build SaaS products for a living. My current venture is a SaaS boilerplate called Gravity, which has helped 350 founders save over 160,000 hours. Previously, I launched 10 SaaS products; most failed but one reached $5m of sales. I was also a guest lecturer at Ulster University in Belfast, teaching software development and UI/UX design.

I’ve been programming for twenty years (since I was 10!) and work remotely from tropical locations all around the world.

Kyle Gawley – Gravity Founder
Coming Summer 2022

Enroll Today to Get Early Access PLUS 30% OFF at Launch


By signing up you'll be notified when the course is available. I promise to never spam you or share your details.

30% OFF
  • 40+ hours of high-quality video screencasts
  • Professional instructor with 15+ years of commercial experience
  • Practical exercises in every module
  • Industry-standard code and best practices
  • Downloadable code examples
  • Slack community to ask questions
  • Full project files available