Skip to content
← All templates

Hono + Prisma

Lightweight Hono API on Node with Prisma and Postgres.

Node.jsAPIPostgres
Get the AI prompt

What you can build with it

  • Small, fast APIs with a database
  • Backends for HTML pages and widgets
  • Event and form collectors

What's inside

  • Hono on @hono/node-server
  • Prisma client
  • Postgres via DATABASE_URL

Before you deploy

  • The example listens on port 3000 — set the app's port to 3000 or change it to read PORT.
  • Add a managed Postgres with elula init --database; the connection string is injected as DATABASE_URL.

Source

github.com/prisma/prisma-examples/tree/latest/orm/hono