Setup and integrations
Hosting and deployment
Understand your deployment options: from fully managed Startbase publishing to hybrid setups and full self-hosting.
Publishing on Startbase is the fastest path to production. But you own your code and data, so you can move to external hosting any time, with no lock-in.
Key principles
- You own your code. Push to GitHub at any time and deploy anywhere.
- You own your data. Export schemas and data, or migrate to another provider.
- Built on open source. Standard Vite + React projects, no proprietary frameworks.
- We earn your trust through quality, not control. Move without friction if your needs change.
Common setups
| Setup | Frontend | Backend | Best for |
|---|---|---|---|
| Startbase (recommended) | Published on Startbase, custom domains on Pro | Startbase Cloud | Most applications |
| Hybrid | Netlify, Cloudflare Pages, Vercel, etc. | Startbase Cloud or your own Supabase | Specific compliance or hosting preferences |
| Fully self-managed | Docker, Kubernetes, VMs | Self-hosted Supabase or equivalent | Strict data residency or infrastructure control |
Deploying outside Startbase
If you need to host externally, push your project to GitHub first. From there you can deploy to any Git-based hosting platform (Netlify, Cloudflare Pages, Vercel, AWS Amplify) or set up object storage + CDN with a CI/CD pipeline.
Build settings
Build command: npm run build. Output directory: dist/. Node version: 22. Environment variables prefixed with VITE_ are embedded at build time.
Startbase projects use client-side routing, so configure a fallback rewrite so all routes serve /index.html. The method varies by platform (_redirects on Netlify, vercel.json on Vercel, etc.).