create-bun-stack
Deploy and Host create-bun-stack with Railway
create-bun-stack
jasencarroll/create-bun-stack
Just deployed
Deploy and Host create-bun-stack
on Railway
create-bun-stack
is a full-stack application starter powered by Bun, offering a batteries-included developer experience inspired by the Rails philosophy. It emphasizes local-first simplicity, modern JavaScript tooling, and zero-config developer workflows—shipping with TypeScript, SQLite, file-based routing, environment handling, and built-in auth.
About Hosting create-bun-stack
Hosting create-bun-stack
on Railway enables instant provisioning of the full stack—server, database, and environment—all from a single deploy. The stack is optimized for fast startup, local development parity, and deploys cleanly to Railway without needing Docker, external Redis, or Postgres. It supports SQLite in production using Railway’s persistent storage volumes or can be trivially adapted for Postgres with a single .env
switch. Built with minimal moving parts, create-bun-stack
abstracts infrastructure complexity so developers can ship fast with modern primitives.
Common Use Cases
- Prototyping full-stack applications with modern tooling
- Shipping lightweight SaaS or internal tools with minimal infra
- Building local-first apps that degrade gracefully offline
Dependencies for create-bun-stack
Hosting
- Bun Runtime (v1.1+)
Deployment Dependencies
Implementation Details
To persist SQLite across deploys on Railway, ensure the following volume is mounted in railway.json
:
{
"mounts": [
{
"source": "sqlite-data",
"destination": "/data"
}
]
}
Then in .env
:
DATABASE_PATH=/data/db.sqlite
Update your Bun config or app/config.ts
to reflect this path.
Why Deploy create-bun-stack
on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying create-bun-stack
on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
create-bun-stack
jasencarroll/create-bun-stack