Deploy the whole product on Railway in one click.

The Deploy on Railway button creates the database, the API and the web service on one private network, and generates the auth secret. This site's own demo runs the same way.

Your app + Railway
Services
Postgres, server (the API) and web
First deploy
10 to 20 minutes
Migrations
Run before each API release
Cost
Railway bills by usage; check their pricing

See it work

Deploy to Railway

Go live with one click on Railway, or with Docker Compose on any host.

What you get

Production on day one, with nothing to stitch together.

The same app runs anywhere with Docker Compose and Caddy, if Railway isn't for you.

  • Three services, one click

    The button creates Postgres, the API and a public web service on one private network, and generates your auth secret.

  • One address for app and API

    Only the web service, a Caddy proxy, is public. The app and the API share one HTTPS address, so sign-in cookies stay first-party.

  • Push to deploy

    Connect your own GitHub repository to the server and web services, and every push redeploys them. Add your own domain on port 8080.

Try it in the demo

Check a live deploy.

The demo is this template running on Railway. Look at it the way you'd check your own.

The demo is a shared read-only account: you can open every screen, but nothing saves.

  1. Step 01

    Check it's ready

    Add /health/ready to the demo's address. A deploy that's up answers {"status":"ready"}.

  2. Step 02

    Open the API reference

    Open /docs/api: the API's own reference, served from the same deployment and address.

  3. Step 03

    Open the demo

    On the sign-in page, choose Open the demo, then Admin → Setup to see which extras are switched on.

10 to 20 minutes. Then you make yourself an admin, install the site template and connect your own repository.

No. The same app runs anywhere with Docker Compose and Caddy. Railway is the one-click route, and this site's demo runs on it.

Your domain, on port 8080, with BETTER_AUTH_URL and APP_ORIGIN pointed at it. Then the extras you want, such as Stripe, Resend and social sign-in, by setting their variables and redeploying.

Ready to build your product on the starter?

Get in touch