/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.

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
cli-app Simple CLI TODO list app

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

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

Flow

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

Are you missing an example? Please feel free to open an issue or submit a pull request.

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)