/prisma-yoga-example

GraphQL server example using Prisma and graphql-yoga

Primary LanguageTypeScriptMIT LicenseMIT

Prisma Yoga example

This repository the following examples:

Setup

$ docker compose up
$ npm i
$ cp .env.example .env

Start GraphQL Server

$ npm run migrate:dev
$ npm run seed
$ npm start
$ open http://localhost:4000/graphql

Run test

$ npm run migrate:test
$ npm test

Debugging

Issue a query in GraphQL Playground, then visit http://localhost:16686 to debug using GraphQL Debugger.

License

MIT