---
title: "Deploy bun-elysia-prisma"
description: "Get started with Bun using Elysia and Prisma."
category: "Starters"
url: https://railway.com/deploy/ospb5B
---

# Deploy bun-elysia-prisma

Get started with Bun using Elysia and Prisma.

**[Deploy bun-elysia-prisma on Railway](https://railway.com/template/ospb5B)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/ospb5B/manifest.json

- **Creator:** cdbrw
- **Category:** Starters
- **Total deploys:** 12

## Template content

### server

- **Source:** https://github.com/thecodebrew/bun-elysia-prisma-base
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:latest

## Documentation

This template is for those looking to quickly get started with Bun using Elysia for routing and Prisma as the ORM for a Postgres database.

**NOTE:** If the server deploy fails on the Prisma migrations step, simply redeploy the server once the Postgres database is fully deployed. 

Once this template is deployed, follow these steps to ensure everything is working as expected:
1. Ensure the `DATABASE_URL` env variable is set to `${{Postgres.DATABASE_URL}}`
2. Run through the steps in the `README.md` file created in the GitHub repo to ensure no steps were missed

## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/ospb5B
