Git Product home page Git Product logo

prisma-graphql's Introduction

prisma-graphql

GraphQL layer tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB)

Getting Started

Clone the repo

git clone https://github.com/flavioespinoza/prisma-graphql.git

Use yarn to install dependencies,

yarn install

Launch Prisma and the connected database with docker-compose:

docker-compose up -d

Generate GraphQL type definitions

prisma generate

Deploy Prisma GraphQL Api

prisma deploy

GraphQL Client

playground: http://localhost:4466/ db_admin: http://localhost:4466/_admin

Prisma

Simplified and TypeScript GraphQL client & server layer.

prisma-client

The Prisma client is an TypeScript auto-generated library that provides type-safe access to your database. It is used as a replacement for traditional ORMs in your API servers or microservice architecure.

nexus-prisma

GraphQL ORM + CRUD schema generator for GraphQL enpoints

Generate CRUD building blocks

npx nexus-prisma-generate --client ./generated/prisma-client --output ./generated/nexus-prisma

prisma-examples

all prisma examples

Below are select few ready-to-run examples demonstrating various use cases

Docker TypeScript
Demo Description
docker-mongodb Set up Prisma locally with MongoDB
docker-mysql Set up Prisma locally with MySQL
docker-postgres Set up Prisma locally with PostgreSQL
Golang
Demo Description
cli-app Simple CLI TODO list app
graphql Simple GraphQL server
http-mux Simple REST API with gorilla/mux
rest-gin Simple REST API with Gin
script Simple usage of Prisma client in script
Docker Node.js
Demo Description
docker-mongodb Set up Prisma locally with MongoDB
docker-mysql Set up Prisma locally with MySQL
docker-postgres Set up Prisma locally with PostgreSQL

prisma-graphql's People

Contributors

flavioespinoza avatar dependabot[bot] avatar

Watchers

James Cloos 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.