Deploy Your Appwrite Frontend
Appwrite provides your backend services. ZeroDeploy hosts your frontend with zero config.
Last updated: February 20, 2026How it works
Appwrite backend + ZeroDeploy frontend.
Appwrite (self-hosted or Appwrite Cloud) runs your backend services: databases, auth, storage, and serverless functions. Your frontend — built with React, Vue, Angular, or any framework — is hosted on ZeroDeploy and connects to Appwrite via their Web SDK. Static files on the edge, backend services in the cloud.
Deploy in 3 steps
From zero to live in under a minute.
Create your frontend project
Scaffold a new project with Vite. Add the Appwrite SDK and connect it to your backend.
npm create vite@latest my-app -- --template react Build for production
Run the build command to generate static output in dist/.
cd my-app && npm run build Deploy to ZeroDeploy
One command to push your frontend to the edge. It's live in seconds.
zerodeploy deploy --dir dist Configuration tips
Connecting your frontend to Appwrite.
- Store your Appwrite endpoint and project ID as environment variables:
VITE_APPWRITE_ENDPOINTandVITE_APPWRITE_PROJECT_ID. - Initialize the Appwrite client:
client.setEndpoint(import.meta.env.VITE_APPWRITE_ENDPOINT).setProject(import.meta.env.VITE_APPWRITE_PROJECT_ID). - Add your ZeroDeploy domain to the "Platforms" section in your Appwrite project settings. This whitelists your domain for API requests.
Things to know
Appwrite-specific tips to avoid common pitfalls.
- Appwrite requires your frontend domain to be registered as a "Web" platform in project settings. Add your ZeroDeploy subdomain (e.g.,
myapp.zerodeploy.app) and any custom domains you use. - If using Appwrite OAuth, the callback URL must point to your deployed site. Update it in your Appwrite project's OAuth settings after deploying.
- For SPAs with client-side routing, create a
public/_redirectsfile with/* /index.html 200. Learn more about redirects → - Appwrite's client SDK handles tokens and sessions automatically. No server-side session management needed on the hosting side.
Everything you need
Host your Appwrite frontend with the features you'd expect from a modern hosting platform.
Instant Deploys
Push to deploy in under 5 seconds. No queues, no build minutes to worry about.
Preview URLs
Every deployment gets a unique URL. Share any version instantly with your team.
Custom Domains
Connect your own domain with automatic SSL. Just add a CNAME and you're live. Learn more →
GitHub Actions CI/CD
Deploy on every push with GitHub Actions. Get PR comments with preview URLs. Set up CI/CD →
Built-in Analytics
See traffic, top pages, referrers, and countries right in your dashboard. No third-party scripts. Learn more →
Forms That Just Work
Add action="/_forms/contact" to any form. Submissions appear in your dashboard. Learn more →
Frequently asked questions
Can I use Appwrite with ZeroDeploy?
Yes. ZeroDeploy hosts your frontend SPA while Appwrite handles your backend (database, auth, storage, functions). Your frontend connects to Appwrite via their Web SDK — no server needed on the hosting side.
Do I need to configure anything in Appwrite for ZeroDeploy?
Yes — add your ZeroDeploy domain as a "Web" platform in your Appwrite project settings. This whitelists your domain for API requests. Also update any OAuth callback URLs to point to your deployed ZeroDeploy URL.
Does Appwrite work with self-hosted instances?
Yes. Whether you use Appwrite Cloud or a self-hosted instance, your ZeroDeploy-hosted frontend connects the same way — via the Appwrite Web SDK pointing to your Appwrite endpoint URL.
Why use ZeroDeploy instead of hosting my frontend with Appwrite?
Appwrite doesn't host your frontend. You need a separate hosting solution. ZeroDeploy gives you instant deploys, preview URLs, built-in forms, and privacy analytics — features purpose-built for frontend hosting that Appwrite doesn't provide.
Also works with
ZeroDeploy hosts frontends for any backend-as-a-service.
Framework deploy guides
Deploy your Appwrite frontend today
Appwrite for your backend. ZeroDeploy for your frontend. Both free to start.