hono starter template
Quickstart to hono + bun + postgres
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
hono-template
TZGyn/hono-template
Just deployed
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
Template Content
hono-template
TZGyn/hono-template