A large collection of ready-to-deploy Serverless Framework boilerplates and example services for AWS Lambda and other serverless platforms.
prisma/prisma-examples
A collection of ready-to-run example projects showing how to use Prisma ORM with Next.js, Express, GraphQL, and many databases.
- Stars
- 6,651
- Forks
- 1,471
- Open issues
- 52
- Last commit
- 2 days ago
What is it?
Prisma Examples is a repository of runnable sample projects for Prisma, the TypeScript-first ORM for Node.js. Each example lives in its own folder with its own setup instructions, so you can pick the stack closest to your own and run it locally.
The examples cover fullstack frameworks such as Next.js, Nuxt, SvelteKit, and Remix, backend REST and GraphQL servers built on Express, Fastify, NestJS, Hapi, and Koa, and database-specific setups for PostgreSQL, MongoDB, CockroachDB, SQL Server, and Turso. It also includes examples of Prisma Accelerate for connection pooling and caching, and of deploying to Prisma Compute.
The repository also links to production projects and starter kits built with Prisma, giving a reference point for larger applications.
Key features
- 01Covers fullstack frameworks including Next.js, Nuxt, SvelteKit, and Remix
- 02Includes REST and GraphQL backends on Express, Fastify, NestJS, and others
- 03Provides database setups for PostgreSQL, MongoDB, SQL Server, CockroachDB, and Turso
- 04Shows Prisma Accelerate for connection pooling and caching
- 05Links to real-world projects and starter kits built with Prisma
Use cases
- Choosing a starting point for a Next.js or Remix app that uses Prisma
- Learning how to structure a GraphQL or REST API backed by Prisma
- Testing Prisma against a specific database such as MongoDB or SQL Server
- Looking up how production apps integrate Prisma
Quick start
- 1
Clone the repository
git clone https://github.com/prisma/prisma-examples - 2
Open an example folder and follow its README (for example orm/express)
Things to know
- This is a collection of separate examples, not a single installable library.
- Each example has its own setup, so the steps differ per project.
In collections
Topics
FAQ
- What is prisma-examples?
- A collection of ready-to-run example projects showing how to use Prisma ORM with Next.js, Express, GraphQL, and many databases. Prisma Examples is a repository of runnable sample projects for Prisma, the TypeScript-first ORM for Node.js. Each example lives in its own folder with its own setup instructions, so you can pick the stack closest to your own and run it locally.
- Is prisma-examples free to use? What license does it have?
- prisma-examples is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is prisma-examples still maintained?
- Actively maintained. The last commit to prisma-examples was on Nov 5, 2026.
- What can I use prisma-examples for?
- Choosing a starting point for a Next.js or Remix app that uses Prisma Learning how to structure a GraphQL or REST API backed by Prisma Testing Prisma against a specific database such as MongoDB or SQL Server Looking up how production apps integrate Prisma
- How do I install prisma-examples?
- Clone the repository: git clone https://github.com/prisma/prisma-examples Open an example folder and follow its README (for example orm/express)
- Where can I get prisma-examples?
- The source code and installation instructions are on GitHub: https://github.com/prisma/prisma-examples
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A free, MIT-licensed full-stack SaaS starter built on React, Node.js, Prisma and the Wasp framework, with auth, payments and email included.
A TypeScript data layer with a Prisma-compatible ORM, built-in access control, and automatic CRUD APIs and TanStack Query hooks.
A monorepo of GraphQL and PostgreSQL tooling, home to the Grafast execution engine and the PostGraphile automatic GraphQL API builder.
TypeScript ORM for Node.js that gives type-safe database access across PostgreSQL, MySQL, SQLite, MongoDB and other databases.
A TypeScript and JavaScript ORM for Node.js and other JS platforms, supporting both Active Record and Data Mapper patterns across many SQL and NoSQL databases.