Skip to content

feat: staging environment for staging.reactnativevibecode.com - #10

Open
bidah wants to merge 1 commit into
mainfrom
claude/issue-4-20260223-0935
Open

bidah wants to merge 1 commit into
mainfrom
claude/issue-4-20260223-0935

Conversation

@bidah

@bidah bidah commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

Implements staging environment setup for staging.reactnativevibecode.com.

Changes:

  • Fix auth baseURL to use VERCEL_ENV instead of NODE_ENV so staging preview deployments get the correct URL
  • Add .env.staging.example documenting staging-specific env vars
  • Add docs/STAGING_SETUP.md with step-by-step Vercel dashboard instructions

Closes #4

Generated with Claude Code

- Fix auth baseURL detection: replace NODE_ENV check with VERCEL_ENV so
  staging preview deployments use the correct staging URL instead of the
  hardcoded production URL (Vercel sets NODE_ENV=production for all
  deployments including preview/staging)
- Add .env.staging.example documenting which env vars differ in staging
  (DATABASE_URL, POLAR_SERVER=sandbox, OAuth credentials, app URLs, etc.)
- Add docs/STAGING_SETUP.md with step-by-step Vercel dashboard instructions:
  creating the staging branch, adding the custom domain with branch assignment,
  DNS CNAME setup, per-environment variable scoping, Google OAuth staging
  credentials, Polar sandbox setup, and Turbo remote cache notes

Closes #4

Co-authored-by: Rodrigo Figueroa <bidah@users.noreply.github.com>
@vercel

vercel Bot commented Feb 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-vibe-code-sdk-docs Error Error Feb 23, 2026 10:26am
react-native-vibe-code-sdk-web Ready Ready Preview, Comment Feb 23, 2026 10:26am

Request Review

This branch had an error being deployed

1 failed and 1 active deployments
Preview – react-native-vibe-code-sdk-docs — dab5fd0c Deployed Feb 23, 2026 by vercel[bot]
Preview – react-native-vibe-code-sdk-web — dab5fd0c Deployed Feb 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

staging environment

1 participant