Example projects

Real-world & production-ready example projects with Prisma

Here are a number of open source projects that demonstrate usage of Prisma in real world applications. Feel free to submit a PR to add your own production application if it is open source.

Ready-to-run example projects

You can find a number of ready-to-run example projects that demonstrate usage of Prisma in various use cases in the prisma-examples repository.

TypeScript

Fullstack

DemoDescription
rest-nextjs-api-routesNext.js app (React) with a REST API (using Next.js API routes)
rest-nextjs-expressNext.js app (React) with a REST API (using Express)
graphql-nextjsNext.js app (React) with a GraphQL API (using Apollo Server and Nexus Schema)

Backend only

DemoDescription
graphql-apollo-serverGraphQL server based on apollo-server and Nexus Schema
graphql-authGraphQL server with email-password authentication & permissions
graphql-sdl-firstGraphQL server based on the SDL-first approach of graphql-tools
graphql-subscriptionsGraphQL server with realtime subscriptions based on apollo-server and Nexus Schema
graphql-typegraphqlGraphQL server based on graphql-yoga and TypeGraphQL
graphqlGraphQL server based on graphql-yoga and Nexus Schema
grpcgRPC API including runnable client scripts for testing
postgis-expressDemo of spatial queries using Postgis and Express
rest-expressREST API with Express
scriptUsage of Prisma Client JS in a TypeScript script
testing-expressDemo of integration tests with Jest, Supertest and Express

JavaScript (Node.js)

Fullstack

DemoDescription
rest-nextjsNext.js app (React) with a REST API (using Next.js API routes)

Backend only

DemoDescription
graphql-apollo-serverGraphQL server based on apollo-server
graphql-authGraphQL server with email-password authentication & permissions
graphql-sdl-firstGraphQL server based on the SDL-first approach of graphql-tools
graphqlGraphQL server based on graphql-yoga
grpcgRPC API including runnable client scripts for testing
rest-expressREST API with Express
rest-fastifyREST API with Fastify
scriptUsage of Prisma Client JS in a Node.js script
Edit this page on GitHub