---
title: "Deploy hono starter template"
description: "Quickstart to hono + bun + postgres"
category: "Starters"
url: https://railway.com/deploy/JK5kJM
---

# Deploy hono starter template

Quickstart to hono + bun + postgres

**[Deploy hono starter template on Railway](https://railway.com/template/JK5kJM)**

- **Category:** Starters
- **Total deploys:** 1

## Template content

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

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

### hono-template

- **Source:** https://github.com/TZGyn/hono-template
- **Public domain:** Yes

## Documentation

## Hono + Bun + Postgres template

This template uses hono with bun and postgres db setup out of the box. The template also include openapi doc using scalar

Navigate to {domain}/docs to view the openapi doc

Once you have your db schema generated using `bun run db:generate`, make sure to add this command `bun run db:migrate` to the pre-deploy command in railway so it will auto migrate the latest schema to your postgres.

Make sure to detach the upstream repo and connect to your own to start developing. See https://docs.railway.com/guides/deploy#eject-from-template-repository on how to eject from a starter template

## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

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