/prisma-examples

💡 Examples of Prisma using different languages and technologies

Primary LanguageTypeScript

Prisma Examples CircleCI

This repository contains a number of ready-to-run examples demonstrating various use cases of Prisma. Pick an example and follow the instructions in the corresponding README.

Are you missing an example? Please feel free to open an issue (read the contribution guidelines for more info).

TypeScript

Demo Description
script Simple usage of Prisma client in script
graphql Simple GraphQL server
graphql-auth GraphQL server with email-password authentication & permissions
graphql-subscriptions GraphQL server with realtime subscriptions
rest-express Simple REST API with Express.JS
cli-app Simple CLI TODO list app
docker-mongodb Set up Prisma locally with MongoDB

Node.JS

Demo Description
script Simple usage of Prisma client in script
graphql Simple GraphQL server
graphql-auth GraphQL server with email-password authentication & permissions
graphql-subscriptions GraphQL server with realtime subscriptions
graphql-schema-delegation Schema delegation with Prisma binding
rest-express Simple REST API with Express.JS
cli-app Simple CLI TODO list app
docker-mongodb Set up Prisma locally with MongoDB

Golang

Demo Description
script Simple usage of Prisma client in script
graphql Simple GraphQL server
rest-gin Simple REST API with Gin
http-mux Simple REST API with gorilla/mux
cli-app Simple CLI TODO list app
docker-mongodb Set up Prisma locally with MongoDB

Flow

Demo Description
script Simple usage of Prisma client in script
graphql Simple GraphQL server

Reference Implementations

If you're looking for a more complex real-world application you can check out the following repositories:

Repo Language Description
graphql-prisma-typescript TypeScript TypeScript-based GraphQL server (Airbnb clone)