Deployment
Launch your app to the moon
Vercel
Guide to deploy your app to Vercel
- 
Sign up to
Vercel. - 
Create, push your git repo to a git provider and import your git repo here:
 

- Select your repo to deploy, then change 
Build & Development Settings: 
- 
Select
Framework PresettoNext.js - 
Change
Install Commandtonpm install && npm run update:postgresornpm install && npm run update:mongodb 

- Add environment variables, basically copy from 
.env: 

- For 
Authentication, update your configuration for Google and Github authentications:Home URLandAuth callback URLto your external domain. You can get a Vercel domain after deploying, like this: 
https://zapstack-dev-zapstacks-projects.vercel.app/

Also use the domain above for
BASE_URLenv var.
- For 
Stripe: 
- 
Turn of
Test mode, updateSTRIPE_SECRET_KEY_LIVEand add new live products if you want to live your app. - 
Add a new webhook endpoint for your external domain
http://[your_domain]/api/webhooks/stripewith following events: 


Done!
Google Cloud
Coming soon