Course lesson
Configure Stripe for Production and Deploy Next.js Application with Vercel
There are a few steps to go through to push our application and all of our services to production!
- Duration
- 6 min
- Access
- Free
- Transcript
- Retained from source evidence
There are a few steps to go through to push our application and all of our services to production!
-
In order to "activate" our Stripe account, we need to fill out some details about our business.
-
Update everywhere
[http://localhost:3000](http://localhost:3000)is referenced in our application to use theCLIENT_URLenvironment 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_SECRETenvironment variable in Vercel and manually redeploy. -
Update our Site URL in Supabase and remove our test
userandprofilerecords. -
Create a function hook in Supabase to use our Vercel domain
We now have a SaaS application deployed to the Internet that we can start making that side hustle money from!! π