A lightweight, production-ready template for building SaaS apps.
Note: you will need to set up and configure your own Supabase and Stripe accounts.
- In order to "activate" our Stripe account, we need to fill out some details about our business.
- Update everywhere http://localhost:3000 is referenced in our application to use the CLIENT_URL environment variable, which can be set to localhost in .env.local.
- Create a GitHub repo, and commit and push all of our changes.
- Create a Vercel account, import project from GitHub, configure all environment variables and deploy!
- Use our Vercel domain to configure our Customer Portal and Webhooks in Stripe.
- Update STRIPE_SIGNING_SECRET environment variable in Vercel and manually redeploy.
- Update our Site URL in Supabase and remove our test user and profile records.
- Create a function hook in Supabase to use our Vercel domain
Video tutorial here