Loading dock · Keys
Bring the keys.
Grab these while you are in each dashboard. The app already has the sockets. Restart npm run dev after you paste them.
App origin
On dockhttps://turbostore.ai
Supabase
On dockProject URL and anon key are loaded
Google Auth
On dockPaste the Google Client ID and secret into Supabase → Authentication → Providers → Google
Whop payments
On dockAdd NEXT_PUBLIC_WHOP_PLAN_ID and WHOP_COMPANY_API_KEY
Vercel
On dockDeployed as production
Custom domain
On dockhttps://turbostore.ai
Step 01
GitHub
Repo is https://github.com/eromify/turbostore. Origin is already set. Commit and push when you want Vercel to pick it up.
- git push -u origin main
Step 02
Supabase
Create a project. Copy the Project URL, anon key, and service role key into .env.local. Run supabase/migrations/00001_init.sql in the SQL editor.
- NEXT_PUBLIC_SUPABASE_URL
- NEXT_PUBLIC_SUPABASE_ANON_KEY
- SUPABASE_SERVICE_ROLE_KEY
Step 03
Google Client ID
Google Cloud Console → Credentials → OAuth client (Web application). Origins: http://localhost:9797 and https://turbostore.ai. Only redirect URI: https://uxgjrepvbltbbduinrvp.supabase.co/auth/v1/callback. Paste Client ID and secret into Supabase → Authentication → Providers → Google. In Supabase Auth URL config, allow http://localhost:9797/auth/callback and https://turbostore.ai/auth/callback.
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
Step 04
Whop
Start on sandbox.whop.com. Create a company API key, a product/plan, and a webhook pointing at /api/webhooks/whop for payment.succeeded.
- WHOP_COMPANY_API_KEY
- WHOP_WEBHOOK_SECRET
- NEXT_PUBLIC_WHOP_PLAN_ID
- WHOP_SANDBOX=true
Step 05
Vercel + domain
Import the GitHub repo in Vercel. Paste the same env vars. Attach the domain, then set NEXT_PUBLIC_APP_URL to https://yourdomain.com. Update Google and Supabase redirect URLs to match.
- NEXT_PUBLIC_APP_URL