Skip to content

💡 Examples of Prisma using different languages and technologies

Notifications You must be signed in to change notification settings

hatchli/prisma-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma 2 Examples

This repository contains a number of ready-to-run examples demonstrating various use cases of the Prisma 2. 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 Photon in a TypeScript script
graphql Simple GraphQL server based on graphql-yoga
graphql-apollo-server Simple GraphQL server based on apollo-server
graphql-sdl-first Simple GraphQL server based on the SDL-first approach of graphql-tools (Apollo)
graphql-auth GraphQL server with email-password authentication & permissions
rest-express Simple REST API with Express.JS
grpc Simple gRPC API

JavaScript (Node.js)

Demo Description
script Simple usage of Photon in a Node.js script
graphql Simple GraphQL server based on graphql-yoga
graphql-apollo-server Simple GraphQL server based on apollo-server
graphql-auth GraphQL server with email-password authentication & permissions
graphql-sdl-first Simple GraphQL server based on the SDL-first approach of graphql-tools (Apollo)
rest-express Simple REST API with Express.JS
grpc Simple gRPC API

Experimental

The experimental directory contains the same examples as the javascript and typescript directories. The main difference is that it uses Prisma to perform database migrations which are currently an experimental feature.

About

💡 Examples of Prisma using different languages and technologies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.2%
  • JavaScript 26.5%
  • HTML 1.9%
  • CSS 0.9%
  • Shell 0.2%
  • Dockerfile 0.2%
  • Makefile 0.1%