Deploy Buffet - Modern Starter for Bun
Full-stack type safe template: Bun + Effect + ElysiaJS + Svelte
Server
Just deployed
/data
Deploy and Host Buffet: Bun + Effect on Railway
Buffet is a small full‑stack starter built with Bun, Effect, Elysia, and Svelte. It ships with auth (Better Auth), SQLite via Drizzle, typed RPC with Eden Treaty, and a simple “thoughts” UI. It’s meant as a practical base you can quickly adapt to your own app.
About Hosting Buffet: Bun + Effect
Buffet runs as a single Bun service that serves both the API and the Svelte SPA. In production it builds the client bundle, serves static assets with compression, runs SQLite migrations on startup, and uses preconfigured auth/database environment variables so it works on Railway with no extra setup.
Common Use Cases
- Spinning up a small full‑stack app with auth and a DB already wired up
- Prototyping ideas with Bun + Effect without spending time on setup
- Learning how Bun, Elysia, Effect, and Svelte fit together in a real app
Dependencies for Buffet: Bun + Effect Hosting
- Bun runtime (v1.3.0 or newer)
- SQLite database (file‑based, via Drizzle ORM)
Deployment Dependencies
Why Deploy Buffet: Bun + Effect 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 Buffet: Bun + Effect 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
Server
a-rebets/buffet