🎯 What you'll practice: Deploying a React frontend to Vercel from a GitHub repo.
1-B 2-B 3-B 4-B | 5 = dist 6 = redeploy 7 = push to GitHub, import repo on Vercel, confirm build settings, add env vars, deploy 8 = Because the backend URL differs between local development and production — an env variable lets the same code point to the right API without editing source per environment 9 = Vercel is optimized for building and serving static/frontend output; it doesn't keep a persistent server process running the way an Express app with an open MongoDB connection needs | 10 = Likely causes: (1) the VITE_API_URL env var wasn't set on Vercel or points to the wrong backend URL — fix by setting it correctly and redeploying; (2) CORS isn't configured on the backend to allow the Vercel domain — fix by adding the frontend origin to the Express cors() config.