Giter VIP home page Giter VIP logo

prisma-examples's Introduction

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

Fullstack

Demo Description
rest-nextjs Simple Next.js app (React) with a REST API
graphql-nextjs Simple Next.js app (React) with a GraphQL API

Backend only

Demo Description
script Simple usage of Prisma Client JS in a TypeScript script
graphql Simple GraphQL server based on graphql-yoga and Nexus Schema
graphql-typegraphql Simple GraphQL server based on graphql-yoga and TypeGraphQL
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)

Fullstack

Demo Description
rest-nextjs Simple Next.js app (React) with a REST API

Backend only

Demo Description
script Simple usage of Prisma Client JS 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.

Deployment platform

The projects in the deployment-platforms directory show what "Prisma Client"-based deployment setups look like for various deployment providers. Note that they are currently unmaintained but will be updated soon.

prisma-examples's People

Contributors

2color avatar 623841176 avatar abhiaiyer91 avatar awesomeobserver avatar brunocrosier avatar helloworldless avatar infoverload avatar janpio avatar jasonkuhrt avatar jolg42 avatar jukefr avatar kripod avatar kyh avatar marcjulian avatar marktani avatar matthewmueller avatar mavilein avatar michallytek avatar nikolasburk avatar pantharshit00 avatar prisma-bot avatar renovate-bot avatar renovate[bot] avatar schickling avatar shaswatsaxena avatar sorenbs avatar steebchen avatar timsuchanek avatar w0wka91 avatar weakky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.