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.
Demo | Language | Description |
---|---|---|
flow-graphql |
Flow | Simple GraphQL server |
flow-script |
Flow | Simple usage of Prisma client in script |
go-cli-app |
Golang | Simple CLI todo list app |
go-graphql |
Golang | Simple GraphQL server |
node-cli-app |
Node.JS | Simple CLI todo list app |
node-graphql-auth |
Node.JS | GraphQL server with email-password authentication |
node-graphql-schema-delegation |
Node.JS | Schema delegation with Prisma binding |
node-graphql |
Node.JS | GraphQL Subscriptions |
node-graphql-subscriptions |
Node.JS | GraphQL server with subscriptions |
node-rest-express |
Node.JS | Simple REST API with Express.JS |
node-script |
Node.JS | Simple usage of Prisma client in script |
typescript-cli-app |
TypeScript | Simple CLI todo list app |
typescript-graphql-auth |
TypeScript | GraphQL server with email-password authentication |
typescript-graphql |
TypeScript | Simple GraphQL server |
typescript-graphql-subscriptions |
TypeScript | GraphQL server with subscriptions |
typescript-graphql-schema-delegation |
TypeScript | Schema delegation with Prisma binding |
typescript-script |
TypeScript | Simple usage of Prisma client in script |
typescript-circleci |
TypeScript | Simple usage of Circle CI with Prisma client |
Are you missing an example? Please feel free to open an issue or submit a pull request.
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) |
We have a few old examples in the archive
folder, which are not yet using the Prisma Client.
One of these examples is the Travis
on how to run Prisma in the Travis CI environment.