Deployment & Sharing

Your App's Link

Every app on Webase has a public link. Once you publish, anyone with the link can use the app in their browser. They don't need a Webase account.

What the Link Looks Like

On most instances, the link is your Webase address, then /preview/, then your app's slug:

your-webase-host/preview/my-task-manager

Some instances serve each app from its own subdomain on a separate domain instead, like my-task-manager.your-preview-domain. This keeps one app's code away from Webase and from other apps. Either way, the slug comes from your app's name.

Finding Your Link

  • The Publish menu. Click Publish in the editor's header. Once the app is published, the menu shows Your app's link with a Copy button.
  • The Preview tab. The address bar above the preview shows the link. The arrow button next to it opens the published app in a new tab.

What Visitors See

The link serves the version you last published, not your latest draft. Keep working in the editor and visitors won't see the changes until you publish again. If the app has never been published, the link shows a page saying it isn't published yet. See Publishing Your App.

The published app includes:

  • Your React code, bundled into one page.
  • Tailwind CSS, loaded from its CDN.
  • External libraries your app imports from esm.sh.
  • Live data. If your app uses data models, it reads and writes the same records you see in the editor's Data tab.

Linking to a Page

Apps use hash routes, so you link to a page by adding its route after a #:

your-webase-host/preview/my-task-manager#/settings

Visitors land on that page and can move around the rest of the app from there. See Multi-Page Apps.

Who Can Use It

By default, anyone with the link can use the app and read or change its data. Keep this in mind:

  • Data is shared. Without sign-in, every visitor sees and changes the same records. One person's changes are visible to everyone.
  • Don't put private information in a public app. The link isn't listed anywhere, but anyone who has it can get in.
  • Turn on sign-in to limit access. With Require sign-in on (Settings → Access), visitors see a sign-in page first, and each person sees only their own data. See Adding Auth to Your App.

Sharing It

  • Send the link in an email, a message or a post.
  • Make a QR code from it for printed material or events.

Want your own domain? On self-hosted instances you can deploy the published version to Netlify and connect a custom domain. See Deploying to Netlify.