Builder's DayFree, on demandWatch the talks
All apps

Prisma Compute app

New

Resource Discovery

A searchable resource directory with full-text search, filters and cursor pagination that stay fast past a million rows.

byAnas Ibn BelalNext.jsResource directory

Resource Discovery running in a browserNext.js
Resource Discovery running in a browser

What it does

  • Search that uses an index

    Titles and descriptions sit behind a PostgreSQL full-text index declared in the Prisma contract, and tags behind a GIN index. Words match as prefixes, so typing "kuber" finds Kubernetes, and a term that matches nothing answers in milliseconds.

  • Filters that seek

    Category and difficulty filters combine with search and read from composite indexes, so the database jumps to the cursor instead of scanning.

  • Pagination that never skips

    Next, Previous and First buttons page with a keyset cursor over one stable order. A page costs the same on the first screen or the fifty-thousandth, and rows are never repeated or dropped.

  • Seed it at any scale

    An empty database gets 20 curated resources on the first visit. One command adds 100,000 generated rows, or a million, in batches through the ORM, so you can watch the app at scale.

Deploy it in a minute

  1. 01

    Click Deploy on Prisma

    The Prisma Console copies the repository to your GitHub account and connects it to a new project.

  2. 02

    Get a database with it

    The first deploy provisions Prisma Postgres, applies the migrations and runs the app on Bun.

  3. 03

    Push to ship

    Every push to the connected branch deploys. Other branches get their own preview with an empty database.

Share this app

Built something on the Prisma Stack?

Community templates get a page like this one, with your name on it. Add a folder under compute/ in prisma-examples, name yourself in the manifest, and open a pull request.

  • Open source, under your GitHub name
  • One-click deploy from the Prisma Console
  • Listed on prisma.io/apps