Prisma Yoga example
This repository the following examples:
- Prisma ORM using PostgreSQL
- GraphQL API server via graphql-yoga
- And Jest test suites integrated to RDB
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
License
MIT