Prisma Compute app
NewResource Discovery
A searchable resource directory with full-text search, filters and cursor pagination that stay fast past a million rows.
by
Anas Ibn BelalNext.jsResource directory

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
- 01
Click Deploy on Prisma
The Prisma Console copies the repository to your GitHub account and connects it to a new project.
- 02
Get a database with it
The first deploy provisions Prisma Postgres, applies the migrations and runs the app on Bun.
- 03
Push to ship
Every push to the connected branch deploys. Other branches get their own preview with an empty database.
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
