Hosting and Deployment
The easiest way to publish your Convex app to the internet is to use a hosting provider like Vercel or Netlify.
Both Netlify and Vercel integrate with git to deploy code whenever a new revision is pushed. To host your app:
-
Commit all files and push to your favorite git hosting provider such as GitHub, GitLab or Bitbucket.
- Note that your repository needs to include the
convex.json
file. If you don't have one, you can create a new Convex project withnpx convex init
or recreate an old one withnpx convex reinit
.
- Note that your repository needs to include the
-
Follow the appropriate guide below.
If you aren't using Netlify or Vercel, a similar process should work for other providers and deployment workflows.
📄️ Netlify
Host your frontend on Netlify and your backend on Convex.
📄️ Vercel
Host your frontend on Vercel and your backend on Convex.