LieAlbertTriAdrian / prisma-examples

💡 Examples of Prisma using different languages and technologies

Home Page:https://www.prisma.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Prisma 2 examples (Photon & Lift)

You can find all Prisma 2 examples in the prisma2 branch of this repository.

TypeScript

Demo Description
script Simple usage of Prisma client in script
graphql Simple GraphQL server based on graphql-yoga
graphql-apollo-server Simple GraphQL server based on apollo-server
graphql-crud GraphQL server with full CRUD API
graphql-auth GraphQL server with email-password authentication & permissions
graphql-subscriptions GraphQL server with realtime subscriptions
rest-express Simple REST API with Express.JS
grpc Simple gRPC API
docker-mongodb Set up Prisma locally with MongoDB
docker-mysql Set up Prisma locally with MySQL
docker-postgres Set up Prisma locally with PostgreSQL
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
rest-express Simple REST API with Express.JS
grpc Simple gRPC API
docker-mongodb Set up Prisma locally with MongoDB
docker-mysql Set up Prisma locally with MySQL
docker-postgres Set up Prisma locally with PostgreSQL
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
docker-mongodb Set up Prisma locally with MongoDB
docker-mysql Set up Prisma locally with MySQL
docker-postgres Set up Prisma locally with PostgreSQL
cli-app Simple CLI TODO list app

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)

About

💡 Examples of Prisma using different languages and technologies

https://www.prisma.io/docs/


Languages

Language:TypeScript 83.9%Language:JavaScript 14.1%Language:Go 1.8%Language:Shell 0.3%