Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Examples

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

Demo Description
rest-nextjs-api-routes Next.js app (React) with a REST API (using Next.js API routes)
rest-nextjs-express Next.js app (React) with a REST API (using Express)
graphql-nextjs Next.js app (React) with a GraphQL API (using Apollo Server and Nexus Schema)

Backend only

Demo Description
graphql-apollo-server GraphQL server based on apollo-server and Nexus Schema
graphql-auth GraphQL server with email-password authentication & permissions
graphql-sdl-first GraphQL server based on the SDL-first approach of graphql-tools
graphql-subscriptions GraphQL server with realtime subscriptions based on apollo-server and Nexus Schema
graphql-typegraphql GraphQL server based on graphql-yoga and TypeGraphQL
graphql GraphQL server based on graphql-yoga and Nexus Schema
grpc gRPC API including runnable client scripts for testing
postgis-express Demo of spatial queries using Postgis and Express
rest-express REST API with Express
script Usage of Prisma Client JS in a TypeScript script
testing-express Demo of integration tests with Jest, Supertest and Express

JavaScript (Node.js)

Fullstack

Demo Description
rest-nextjs Next.js app (React) with a REST API (using Next.js API routes)

Backend only

Demo Description
graphql-apollo-server GraphQL server based on apollo-server
graphql-auth GraphQL server with email-password authentication & permissions
graphql-sdl-first GraphQL server based on the SDL-first approach of graphql-tools
graphql GraphQL server based on graphql-yoga
grpc gRPC API including runnable client scripts for testing
rest-express REST API with Express
rest-fastify REST API with Fastify
script Usage of Prisma Client JS in a Node.js script