Skip to content

suhaibks/ProjectHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectHub

Vercel deployment checklist

  1. Create/import the project in Vercel.
  2. Set all required Firebase environment variables for Production, Preview, and Development:
vercel env add VITE_FIREBASE_API_KEY
vercel env add VITE_FIREBASE_AUTH_DOMAIN
vercel env add VITE_FIREBASE_PROJECT_ID
vercel env add VITE_FIREBASE_STORAGE_BUCKET
vercel env add VITE_FIREBASE_MESSAGING_SENDER_ID
vercel env add VITE_FIREBASE_APP_ID
vercel env add VITE_FIREBASE_MEASUREMENT_ID
  1. Pull env vars locally (optional):
vercel env pull .env.local
  1. Validate package metadata before pushing/deploying:
npm run validate:package
  1. Build command is already configured to validate env vars before building:
  2. Build command is already configured to validate env vars before building:
npm run build

Notes

  • .npmrc forces the public npm registry (https://registry.npmjs.org/) to avoid private/misconfigured registry resolution issues in CI.
  • Vercel is configured for Vite and SPA rewrites in vercel.json.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages