- Vercel account created
- Railway backend deployed and URL copied
- Go to vercel.com/dashboard
- Click "Add New" -> "Project"
- Import:
Sam-Razavi/applyluma - Framework: Vite
- Root directory:
/frontend
Vercel should auto-detect Vite, but verify:
- Build Command:
npm run build - Output Directory:
dist - Install Command:
npm install
In Vercel project settings -> Environment Variables:
VITE_API_URL=https://your-railway-backend-url.up.railway.app
VITE_ENVIRONMENT=productionReplace VITE_API_URL with the actual Railway backend URL from RAILWAY_SETUP.md Step 5.
- Click "Deploy"
- Wait for build to complete, usually about 2 minutes
- Vercel provides a preview URL, for example
https://applyluma-xxx.vercel.app
- Visit the preview URL
- Register a new user
- Check browser console for errors
- Verify API calls go to the Railway backend URL
Proceed to DNS_SETUP.md to point applyluma.com to Vercel.