Vercel is a frontend hosting platform built by the creators of Next.js, ranking #30 in usage among developer tools at roughly 10.6%. Connect a Git repository and Vercel builds and deploys it automatically on every push, distributing it instantly over a global CDN. It's the default hosting choice for Next.js apps, and popular generally for React/Vue/Svelte frontends that want zero-config, instant deploys.
Deploy straight from your project directory with the Vercel CLI, and control routing/headers with a vercel.json file.
# deploy the current directory to production
vercel --prod
// vercel.json — custom rewrite and header rule
{
"rewrites": [
{ "source": "/api/(.*)", "destination": "/api/$1" }
],
"headers": [
{ "source": "/(.*)", "headers": [{ "key": "X-Frame-Options", "value": "DENY" }] }
]
}
Install the CLI and log in, or simply import your Git repo from the Vercel dashboard for automatic deploys on every push.
# install the Vercel CLI
npm install -g vercel
# log in and deploy the current project
vercel login
vercel