Skip to content
← All templates

Express + Prisma

REST API with Express, Prisma ORM and Postgres — users and posts with full CRUD.

Node.jsAPIPostgres
Get the AI prompt

What you can build with it

  • Backends for internal front ends
  • Data APIs for dashboards
  • Record-keeping services

What's inside

  • Express routes
  • Prisma schema with relations
  • 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/express