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.
- Backend for a real world grading application (incl video and written tutorials)
- Tottem – Fullstack app for "social library management" (based on Next.js)
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 GraphQL Nexus) |
Backend only
Demo | Description |
---|---|
graphql-apollo-server | GraphQL server based on apollo-server and GraphQL Nexus |
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 GraphQL Nexus |
graphql-typegraphql | GraphQL server based on apollo-server and TypeGraphQL |
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 |
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 |