Vercel Deployment (Frontend)
Setup
- Import the repository on vercel.com
- Set the root directory to
frontend - Framework preset: Next.js
Environment Variables
Set in Vercel project settings:
| Variable | Value |
|---|---|
NEXT_PUBLIC_API_URL | https://api.your-domain.com/api |
Custom Domain
Add your domain in Vercel project settings under Domains. Point your DNS CNAME to cname.vercel-dns.com.
