Gravity Logo

The original Node.js & React SaaS boilerplate. Est. 2018

Launch Your SaaS Startup at Warp Speed

The SaaS boilerplate that handles the complex, boring code like payments and authentication, while you build fun features that generate revenue.

  • Randall Kanna
  • Brad Bitler
  • Joey Bolohan
  • Þórhallur Einisson
  • Kemane Wright
Battle-tested by 1100+ users
Gravity SaaS Boilerplate
Save 400+ hours
Launch fast
Beat the competition
Get profitable fast
Hey, my name is Randall Kanna and I've been a long term user of Gravity. It is hands down the best SaaS boilerplate on the market bar none. There is no other boilerplate that can compare with what Gravity offers. It is really isn't even a boilerplate, it's more like a start up in a box. It gives you more time to focus just on shipping features instead of worrying about security or emails or authentication or a stripe connection. I am such a fan. Whenever I go to like build a new feature and I think, OK, I'm gonna need a upload component for this. I just go to Gravity, I look at the documentation already exists. I'm able to pull it in really fast to my app and it's amazing and I would never be able to spend as much time testing and updating and looking for security flaws as Kyle does with Gravity. For instance, just last year, I had a user attacking my app and it was really scary. I started getting a bunch of, you know, scary emails from Stripe and there was a bunch of fraud going on. They were testing out credit card payments on my app. I just quickly pulled in the Gravity updates and I noticed that I could enable the confirm email feature and I did and the bots stopped immediately. Also I actually sold my app last year on Gravity. It was built on Gravity. I sold it on aquire.com. It was a lifelong dream and it felt so great to be able to do that. So, thank you Gravity.

I'm a long-term Gravity user and it's hands down the best SaaS boilerplate out there. It lets you focus on shipping features without worrying about payments, security, emails, or authentication.

The last app I built with Gravity was acquired!

Everything You Need To Build a SaaS Startup

25+ beautiful UI views + all the back-end functionality.

What's Included

Don't reinvent the wheel. Save 400+ hours by not writing these 15,000+ lines of code.

Subscription Billing

  • Free plans
  • Trials
  • Seat billing
  • Usage billing
  • Powered by Stripe
70 hours saved

Multidimensional Auth

  • Email/password
  • Magic links
  • 500+ social networks
  • 2FA, flags and lockouts
  • Penetration-tested
100 hours saved

UI Templates

  • 50+ components
  • 25+ views
  • Fully accessible
  • Dark mode
  • Built with Shadcn
80 hours saved

Choose Your Database

  • MySQL
  • MongoDB
  • Postgres
  • MariaDB
  • Plus more +
2 hours saved

REST API

  • Token authentication
  • Protected endpoints
  • API keys
  • Throttling
8 hours saved

Users & Invitations

  • Organisations
  • Invite system
  • User roles
  • Multi-tenant
40 hours saved

Transactional Emails

  • Responsive emails
  • 20+ multilingual templates
  • 20+ email services
  • No HTML required
4 hours saved

SaaS Admin Dashboard

  • Metrics dashboard
  • Manage users
  • Error & event logs
More About Mission Control 40 hours saved

Generative AI

  • Supercharge your app
  • ChatGPT
  • DALL-E
1 hour saved

Onboarding & Feedback

  • User onboarding
  • Collect feedback
  • Boost retention
5 hours saved

Mobile Apps

  • Native iOS & Android apps
  • Built with React Native
More About Native Apps 100 hours saved

Lifetime Support

  • Concierge onboarding
  • Email support (Mon-Fri)
  • Discord community

Localization

Expand your customer base and make your SaaS app accessible to everyone, everywhere. 30 hours saved

Tests

Keep your app running smoothly with 40+ integration tests. 8 hours saved

Next.js Landing Page

Drive sign-ups with a beautiful SaaS landing page. Learn More Launchpad 6 hours saved

1 Year of Updates

Github access with continuous updates for the first year, renew for only $195/yr thereafter.

How It Works

Zero to SaaS hero in minutes.

Download

Download the full SaaS boilerplate codebase from Github.

Install

Follow the setup wizard to have a working SaaS app in minutes.

Customise

Start adding your features then launch your app at warp speed.
Watch how to build an AI photo app with Gravity in 30 minutes

Why Use a SaaS Boilerplate?

  • Eliminate time-consuming, complex boilerplate code.
  • Save 400+ coding hours.
  • Build a profitable SaaS business FAST.
  • Focus on features that matter: ones customers will PAY for.
  • Save thousands of dollars.
  • Get access to professional SaaS development support network.

Why Use My SaaS Boilerplate?

Kyle Gawley working on laptop

Kyle Gawley Gravity Founder

  • 20 years commercial Javascript experience
  • Built a tech startup to $5,000,000 sales
  • Served on startup boards as a technical advisor
  • Mentored hundreds of startups on accelerators
  • Spoken at development conferences across the world
  • Maintained a SaaS boilerplate for 5+ years
  • 26,000+ followers who trust me on X/Twitter
  • 1100+ people already using my SaaS boilerplate

Customer Testimonials

Don't just take my word for it.

"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
Brad Bitler

Designer at Apple & Rafters Founder

"Fantastic SaaS boilerplate. Very well documented, clean separation of concern and overall great code quality. Great value, can definitely recommend to anyone looking to save time and money. We bought the product 6 days ago and are mostly done rebranding it. Extensions have been straightforward, as simple as following documentation and YouTube videos explaining the process."
Þórhallur Einisson
Þórhallur Einisson

Solutions Architect, Meniga

"Everything worked perfectly. I was pleasantly surprised by how user-friendly the whole setup process was – loved the unexpected setup wizard. I also appreciate the clean code and comments; as a Rails developer transitioning to Node.js that’s really helpful. Great SaaS boilerplate, exactly what I needed and it over-delivered at that price-point."
Martin Martinel
Martin Martinel

Founder, Martinel Marketing

"Gravity has been a breath of fresh air and has saved us weeks of development time while allowing us to to focus on building our core SaaS offering, without having to figure out best practices for payments and user authentication. The aftercare and support has been great - questions are answered promptly in the active community."
Richie McIlroy
Richie McIlroy

Founder, Floorfilment

"We were looking for a good boilerplate for our SaaS and found a lot of junk and old code. Then we came across Gravity and found just what we were looking for! Fully updated code running on the framework we needed to get started quickly and not have to spend hours working on user logins and super admin, emails, and API tokens and more. This helped us get right to work and save us a ton of time! Thank you."
Joey Bolohan
Joey Bolohan

Co-Founder, Enzak

"Kyle has created an excellent product. If you're after a Node.js SaaS boilerplate, look no further than Gravity. What's so impressive is the attention to detail in terms of the end user experience, the overall breadth of functionality (he's really thought of everything you'd need) and the stability of the product (there are no bugs, it just works). For less than 1K USD, you can't go wrong with this product."
Ian Bradley
Ian Bradley

Founder, Metricus

"While building our SaaS from training at MITx PRO, it became obvious that there was a lot more involved than expected. After reviewing the top five SaaS Boilerplates from a Medium article we selected Gravity based on the online documentation and training. (High quality artifacts are the surest sign of a healthy development process). We were not disappointed; the code and its functionality are far better than we expected. The techniques and construction alone were worth the price of the boilerplate."
Timothy J McGuire
Timothy J McGuire

Founder, Mcode

"From the initial purchase, the team behind Gravity has been there to answer every (silly) question. Thanks to this SaaS boilerplate, we have new ideas on how to implement our own IP in SaaS environments. Bonus: they keep adding features like API connections to Dall-E."
Chris Larkin
Chris Larkin

VP Technology, Arcalea

"I have been shopping around for a Node.js SaaS boilerplate for the SaaS I'm building. During my initial evaluation it came ahead by using React, having JSON emails, having simple to use components, proper security, third party login, and a full featured mobile app template. It took only a few days to get the SaaS online and it's been an amazing experience since. It almost feels like a no code solution - you just plug in your code into the pre-built template."
Alexander C
Alexander C

CTO, Machine Acuity

"Gravity helped us to get a MVP up and running in less than two weeks. This allowed us secure funding for the project, while at the same time migrating from a legacy monolithic application stack to a more modern Node.js stack."
Allan Swanepoel
Allan Swanepoel

Tech Lead, Draint Art

"Lot's of nice features and components out of the box, easy to build on top of with the gravity CLI. Cleanly coded and well documented, it's helped me rethink and improve how I write some code, as well as saved hundreds of hours"
Kemane Wright
Kemane Wright

Founder, Accessibuddy

"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
Dave Young

Founder, Magnus Rush

"I am thrilled! Not only with the boilerplate solution, but with Kyle. We are currently having a complete SaaS application developed and not only are we saving time (and money) by using the SaaS boilerplate, but we are also benefiting from a reliable solution. I can rely on everything working smoothly and no longer have to worry about bugs. In the Discord community, you can exchange ideas with other developers and benefit from this network. Overall, simply a top-notch solution!

Launch Your SaaS Startup at Warp Speed With a Node.js SaaS Boilerplate

Frequently Asked Questions

Can I get a discount?
Can I get a refund?
Does Gravity use Javascript or Typescript?
What support is available after purchase?
Will I get updates?
How are updates delivered?
Why pay for a SaaS boilerplate when there are free open source boilerplates?
Is Gravity single or multi-tenant?
What databases are supported?
What happens if I encounter a bug?
Do I get the full codebase after my purchase?
Can I use the code for more than one project?
Can I upgrade from the starter or pro plan?