This example demonstrates how to build a GraphQL server over the Prisma.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
prisma
src
.gitignore
LICENSE
README.md
docker-compose.yml
package-lock.json
package.json
tsconfig.json
tslint.json
yarn.lock

README.md

This example demonstrates how to build a GraphQL server over Prisma using TypeScript & apollo-server.

It inlcudes below features:

  • An implementation of email-password-based authentication workflow.

  • GraphQL over GraphQL/Prisma.

  • Customized GraphQl queries which base on the resolve info.

Get started

  1. Use docker-compose to run the prisma server in docker containers:
docker-compose up -d
  1. Install Node dependencies:
yarn install
  1. Deploy service to prisma server and then generate the corresponding schema:
yarn dg
  1. Start the apollo server:
yarn start