Loading...
Deploying JSandy to Vercel is like deploying any other Next.js app, it works out of the box. This guide will walk you through the deployment process.
Configure Client URL
Update lib/client.ts to use the Vercel URL in production. Vercel automatically provides your deployment URL as process.env.VERCEL_URL:
lib/client.ts
Deploy to Vercel
vercel deployConfigure your environment variables in the Vercel dashboard:

Alternatively, you can use the CLI to add environment variables:
Terminal
If you're experiencing CORS problems, make sure your base API includes CORS middleware:
server/index.ts