Next.js App Router
/

Learn how to build a SaaS with Next.js App Router and Supabase

Going to Production

In this lesson, we learn how to configure Vercel, Supabase and Stripe to deploy our application to production and accept payments.

Reading Time: 14 minutes

Our app is finally complete, and we're ready to deploy it to production! šŸŽ‰

In this lesson, we'll learn how to configure Vercel, Supabase and Stripe to deploy our application to production.

We will deploy our application in three steps:

  1. Vercel: First, we deploy our Next.js application to Vercel and configure the environment variables to connect to Supabase.
  2. Supabase: Then, we create a Supabase Project and deploy our database to Supabase. We will also configure the Supabase environment variables in Vercel.
  3. Stripe: Finally, we configure Stripe to accept payments. Then, we add the Stripe environment variables to Vercel.

Deploying to Vercel

Vercel is likely one of t ...