Fastest way to build a SaaS in 2024 - Next.js, Supabase & Stripe

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • In this video, Jon Meyers demonstrates how to use Vercel's Subscription Payments Template [1] to bootstrap a Software as a Service product, deployed to production, that can take very real payments!
    ▶ Get started with Supabase: supabase.com/?...
    [1] github.com/vercel/nextjs-subs...
    Next.js is one of the most popular modern web frameworks that allows for client and server logic to be interwoven seamlessly. Supabase is a collection of open source tools that wrap around a PostgreSQL database. The `@supabase/ssr` package is the layer that glues these technologies together, configuring cookie-based auth so the user and their session are available throughout the entire Next.js stack.
    00:00 The fastest way to build a SaaS product
    00:18 Deploying template with Vercel
    01:40 Setting Environment Variables
    04:28 Creating subscription tiers
    06:27 Configure OAuth with GItHub
    09:54 Setup Stripe Customer Portal
    12:05 Activate Stripe Account
    Build SaaS apps and start making real money in 2024 with our latest video. We're showing you the fastest way to build a SaaS product using Vercel's subscription starter, Supabase for backend magic, and Stripe to handle those all-important payments. This isn't just about getting set up; it's about getting your SaaS out there and starting to see the cash flow in.
    What you will learn:
    ✅ Fork and Deploy: Kick things off by forking the Stripe subscription starter to your GitHub. It's the first step to getting your SaaS off the ground.
    ✅ Supabase Integration: Add the Supabase integration to your project, a crucial move for managing your backend and getting your product ready for use.
    ✅ Stripe Setup: Get your Stripe account up and running. We'll go through activating your account and setting up those key API keys, so you're ready to take payments.
    After this video you will be able to:
    ✅ Launch Your SaaS: With your Vercel project deployed, your Supabase backend sorted, and Stripe ready to process payments, you'll be set to launch your SaaS product.
    ✅ Handle Real Payments: With Stripe activated, you're all set to handle real transactions. Say hello to earning from your SaaS product thanks to Supabse integration!
    ✅ Manage Subscriptions: Dive into Stripe's dashboard using Supabase for the backend to create and manage subscription tiers, giving your users options and boosting your revenue potential.
    💻 Videos to watch next:
    ▶ Fastest way to host a Postgres database: • FASTEST way to host a ...
    ▶ Fastest way to get started with Next.js and Supabase: • FASTEST way to get sta...
    ▶ 10 new Supabase features you need to start using: • 10 new Supabase featur...
    👇 Learn more about Supabase 👇
    🕸 Website: supabase.com/
    🏁 Get started: app.supabase.com/
    📄 Docs: supabase.com/docs
    🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
    📱 Connect with Us:
    ▶ GitHub: www.github.com/supabase/supab...
    ▶ Discord: www.discord.supabase.com/
    ▶ Twitter: / supabase
    ▶ Instagram (follow for memes): / supabasecom
    ABOUT SUPABASE:
    Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.
    Build in a weekend, scale to millions.
    #Supabase #AppDevelopment #RealtimeApps #DeveloperTools
  • НаукаНаука

Комментарии • 67

  • @Supabase
    @Supabase  4 месяца назад +4

    If you're looking for how to build AI (RAG) applications quickly...
    you'll probably want to follow this one: ruclips.net/video/ibzlEQmgPPY/видео.html

  • @yunyang6267
    @yunyang6267 4 месяца назад +23

    "I am gonna show you Fastest Possible way to build a Saas product and start making Real money" never expect less from a Supabase intro

    • @JonMeyers
      @JonMeyers 4 месяца назад +4

      When supabase stops being so sensational, my intros will stop being so sensationalised! 😆

  • @wlockuz4467
    @wlockuz4467 4 месяца назад +3

    Straight to the point and a ton of valuable information. Really looking forward to more videos.

  • @mark.raetzel
    @mark.raetzel 4 месяца назад +6

    So good, waiting for the next videos. Thank you guys, great work!

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Next week is Local Dev! 🚀

  • @FlorinPop
    @FlorinPop 4 месяца назад +8

    This is a cool video! Great job Jon!

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Thanks Florin! Glad you enjoyed it! 🙌

    • @JonMeyers
      @JonMeyers 4 месяца назад

      What would you like to see next?

  • @carlosricardoziegler2650
    @carlosricardoziegler2650 4 месяца назад +4

    Amazing and so detailed video :)

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Thanks! Glad you enjoyed it! What would you like to see next?

  • @akhiladecosta9326
    @akhiladecosta9326 2 месяца назад +3

    Good stuff man! Can you do a tutorial on multi-tenant applications next?

  • @TheBlackManMythLegend
    @TheBlackManMythLegend 4 месяца назад

    the cleanest of that video is .... damn..... it's try it's the fastest way to build a saas in 2024.. all those steps packed in one video.

  • @_taishi
    @_taishi 4 месяца назад

    great as always

  • @maskman4821
    @maskman4821 4 месяца назад +1

    Awesome ❤

  • @beepdotboop
    @beepdotboop 3 месяца назад +5

    Not sure if something has changed in the last 2 weeks, but the tutorial breaks down after switching over to the live stripe keys, where managing the subscription or going to the customer portal throws an error/toast for new accounts/subscriptions as well as existing accounts that has already subscribed. Updating it to a live webhooks key doesn't work either. I am very new vercel, supabase and general ops stuff, but I'll try to debug and will report back if there's a solution.

    • @DaytonRumbold
      @DaytonRumbold 19 часов назад

      I'm having the same thing. Did you figure it out?

  • @logemann74
    @logemann74 3 месяца назад

    wonder whats the better stripe integration approach. The one outlined in this vid with synced tables via webhooks or with Stripe Postgres Data Wrappers?

  • @AlexMilman_googleplus
    @AlexMilman_googleplus 25 дней назад

    Great video! Thank you. How can I add the product features from stripe to Supabade? What are the required changes to the template?

  • @maxjbre
    @maxjbre 11 дней назад

    Great video! one question: what do I need to change if I switch to a custom domain instead of the stripe domain?

  • @init_bobjames
    @init_bobjames 3 месяца назад

    not bad Supabase, not bad 👏👏

  • @harryzachariou1
    @harryzachariou1 Месяц назад

    Is this using NextJS API routes to handle the webhook events from stripe to sync the prices, products and subscriptions or supabase edge functions?

  • @MrPvr14
    @MrPvr14 3 месяца назад

    Is anyone else having trouble when installing the template from vercel? I can't get past the add integration with supabase, the modal window that pops up keep loading and does not respond, even though in the background it does create all the supabase services and everything it seems.

  • @geraldaburto7712
    @geraldaburto7712 3 месяца назад

    Do I always need to create a users table in the public schema?

  • @carlosricardoziegler2650
    @carlosricardoziegler2650 4 месяца назад +3

    What about role based permissions. ? SOme video about that will be awesome

    • @JonMeyers
      @JonMeyers 4 месяца назад +3

      Thor is working on exactly this! Coming soon!

  • @eleah2665
    @eleah2665 4 месяца назад +1

    Hi Jon. I need some very real payments. Thanks!

    • @dreamsachiever212
      @dreamsachiever212 4 месяца назад +1

      lol

    • @JonMeyers
      @JonMeyers 4 месяца назад

      That’s the only missing piece - actually getting the very real payments! 😆

  • @avi_mukesh
    @avi_mukesh 2 месяца назад +1

    Step 2 in the deployment template doesn't work for me it bugs out and doesn't seed the database

  • @timothyalcaide
    @timothyalcaide 2 месяца назад

    I don't understand how the postgres database has been synchronized with stripe (prices, subscription, profucts...) how is this done?

  • @luizvictoriobaptistaneto1561
    @luizvictoriobaptistaneto1561 4 дня назад

    Hey guys, I am having a super high webhook error rate (can be seen on the stripe dashboard under developers -> webhooks). Is this normal?

  • @dishanhewage
    @dishanhewage 4 месяца назад +1

    I love Supabase. I just started using Supabase Auth for my new project with Next.js. I'm just wondering why there are so many auth requests in the Supabase Dashboard - more than 3k auth requests (/auth/v1/user, /rest/v1, /rest/v1/health) for just a single user within 3-4 hours. Is that normal or am I doing something wrong? I'm using Next.js Middleware according to the Supabase documentation.

    • @nicolasramos7084
      @nicolasramos7084 4 месяца назад

      I noticed the same thing on a test project of mine. Have you found out if there was something wrong?

    • @neon-gi5tb
      @neon-gi5tb 3 месяца назад

      Same thing happened for me, I ended up running it locally to avoid that.

  • @andrewajoe
    @andrewajoe 2 месяца назад

    Used this starter last year was pretty buggy. Maybe need to try a fresh start and port some stuff over

  • @voidigitaldownload
    @voidigitaldownload 3 месяца назад +1

    How about paddle or Lemonquezzy? Stripe is not available in my country

    • @neon-gi5tb
      @neon-gi5tb 3 месяца назад

      Yeah, it would be great to have that.

  • @kamil_supabase_enjoyer
    @kamil_supabase_enjoyer 4 месяца назад +2

    ❤❤❤

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Glad you enjoyed it! 🙌

  • @DaytonRumbold
    @DaytonRumbold 19 часов назад

    @supabase Hi! Thanks for the tutorial! It works well except for going live. Is anyone else having this issue?

  • @selambengp
    @selambengp 4 месяца назад +2

    Please and please make a React-only version. I am trying to build my SaaS but don't want to use Next. I want to focus solely on SPA.

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Will add it to the list! 🙌

    • @didiercatz
      @didiercatz 4 месяца назад +1

      You will likely need a secure backend for this, though

  • @fullstackwebdev2996
    @fullstackwebdev2996 3 месяца назад

    I have surround sound I kept thinking some squirel was in the attic.

  • @kasper369
    @kasper369 4 месяца назад +2

    What if we don't have stripe in our country,

    • @meowmesh
      @meowmesh 4 месяца назад +1

      Which country?

    • @selambengp
      @selambengp 4 месяца назад

      @@meowmeshTurkey😂

    • @dreamsachiever212
      @dreamsachiever212 4 месяца назад +1

      well you have to find a way to get it lol. you can consider Stripe Atlas to incorporate your business in the US or do it yourself using registered agents

    • @JonMeyers
      @JonMeyers 4 месяца назад

      PayPal is sometimes another good option 👍

  • @wlockuz4467
    @wlockuz4467 4 месяца назад

    Now just need a tutorial on business ideas 🤣

  • @alfredo_mtzrmz
    @alfredo_mtzrmz 4 месяца назад +1

    Please use another Frameworks to do this kind of videos, NuxtJs for example,

    • @JonMeyers
      @JonMeyers 4 месяца назад +2

      Am working on some Nuxt content atm! Coming soon!

  • @azoozym
    @azoozym 4 месяца назад

    Good!
    But what about other gateways? Because Stripe is not available in my country

  • @geraldaburto7712
    @geraldaburto7712 3 месяца назад

    How can I add a free plan?

    • @hikionori
      @hikionori 3 месяца назад

      Just default value

  • @yarapolana
    @yarapolana 4 месяца назад

    😢 We don’t have Stripe in Iceland.

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Is PayPal an option?

    • @yarapolana
      @yarapolana 4 месяца назад +1

      Yes it is, Braintree to be specific.

  • @OmarAfet
    @OmarAfet 4 месяца назад +2

    Speedy and valuable! But stripe don't support saudi arabia 😢

    • @JonMeyers
      @JonMeyers 4 месяца назад

      Damn! Maybe PayPal is an option?

    • @azoozym
      @azoozym 4 месяца назад

      ​@@JonMeyersDoes Paypal has extension in Supabase and provide Subscriptions?

  • @moritz8618
    @moritz8618 4 месяца назад

    hi

  • @JustBrowsing2021
    @JustBrowsing2021 3 месяца назад +1

    This is not even close to being the fastest as it introduces database sync for the data that is already available in Stripe. Talk about over engineering just to promote Supabase.
    Code can be simplified and still utilize Supabase which is a great product. With the presented architecture there is always a chance that Stripe data and Supabase data (that syncs stripe data) will be out of sync. This will happen and it will cause you incredible headaches. Get the data directly from Stripe which should be the only source of truth.

    • @MylesChatman
      @MylesChatman 2 месяца назад

      Agreed. Not having Stripe as a source of truth caused many headaches for my team. My company synced Stripe data into MongoDB and it was difficult to maintain. It took us about a year to fully migrate to just using Stripe and has been so much easier to manage.

  • @mikeyoung3519
    @mikeyoung3519 Месяц назад

    This explains how to set up a template but doesn't actually teach you anything about how to implement this in your own project. Pretty bad.