This repository contains a number of ready-to-run example projects demonstrating various use cases of Prisma. Pick an example and follow the instructions in the corresponding README.
You can also find links to real-world and production ready examples further below in this README.
Are you missing an example? Please feel free to open an issue (read the contribution guidelines for more info).
Demo | Description |
---|---|
rest-nextjs-api-routes |
Next.js app with a REST API (using Next.js API routes) |
rest-nextjs-api-routes-auth |
Next.js app with a REST API (using Next.js API routes) and authentication (using NextAuth.js) |
rest-nextjs-express |
Next.js app with a REST API (using Express) |
graphql-nextjs |
Next.js app with a GraphQL API (using Apollo Server and GraphQL Nexus) |
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 apollo-server and TypeGraphQL |
graphql-typegraphql-crud |
CRUD GraphQL API based on apollo-server and TypeGraphQL |
graphql-express |
GraphQL server based on Express and Nexus Schema |
graphql-express-sdl-first |
GraphQL server based on Express and the SDL-first approach of graphql-tools |
graphql-fastify |
GraphQL server based on Fastify, Mercurius, and the SDL-first approach of |