Railway
Deploy Better Fullstack projects to Railway with generated Dockerfile-based config.
Open documentation actions
Railway is a good fit for Git-connected app hosting, managed databases, and teams that want platform-managed services without writing much infrastructure code.
Create with Railway config
npm create better-fullstack@latest my-app -- \
--frontend next \
--backend hono \
--runtime node \
--database postgres \
--orm drizzle \
--web-deploy railway \
--server-deploy railwayBetter Fullstack emits Railway config and Dockerfiles for supported web and server templates.
Environment setup
Configure production environment variables in Railway before deploying:
- Database connection strings.
- Auth secrets and public callback URLs.
- Provider keys for email, payments, AI, storage, search, or observability.
Railway can host managed databases, but generated projects still need migrations to run against the selected production database.