Deploy Akira-Railway
SaaS starter kit with auth, payments, database, and email on Railway.
akira-railway
Just deployed
Just deployed
/var/lib/postgresql/data
Deploy and Host Akira-Railway on Railway
Akira-Railway is a SaaS starter kit based on Akira. It ships with authentication (Google, GitHub, email), payment processing, a Postgres database with Drizzle ORM, and transactional email. Built with
Next.js App Router, Bun, Tailwind CSS, and shadcn/ui.
About Hosting Akira-Railway
This template deploys the app service and a Postgres database together. Railway auto-detects Bun from the lockfile and builds accordingly. Drizzle migrations run automatically before each deploy via the pre-deploy command, so
your database schema stays in sync without manual steps. You'll need to provide API keys for Better Auth, Dodo Payments, Resend, and any OAuth providers (Google, GitHub) you want to enable. The app connects to Railway's internal
Postgres instance over private networking — no external database configuration required.
Common Use Cases
- Launch a new SaaS product without wiring up auth, payments, and email from scratch
- Prototype and validate a paid product idea with a working checkout flow
- Use as a reference architecture for Next.js + Bun + Drizzle on Railway
Dependencies for Akira-Railway Hosting
- Postgres database (included in template)
- API keys for third-party services (Better Auth, Dodo Payments, Resend, OAuth providers)
Deployment Dependencies
- Akira — Original starter kit
- Better Auth — Authentication
- Dodo Payments — Payment processing
- Resend — Transactional email
- Drizzle ORM — Database toolkit
Why Deploy Akira 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 Akira-Railway 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
akira-railway
sungkhum/akira-railwayPGPORT
Postgres port
POSTGRES_DB
Postgres database name
POSTGRES_USER
Postgres superuser name
SSL_CERT_DAYS
SSL certificate validity in days
RAILWAY_DEPLOYMENT_DRAINING_SECONDS
Graceful shutdown timeout in seconds