No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Demystifying the info object in GraphQL resolvers


git clone
cd info-prisma-example
prisma deploy

After you deployed the Prisma service, you need to replace the __PRISMA_ENDPOINT__ placeholder in src/index.js with the endpoint that was printed in the output of the prisma deploy command.

Note that prisma deploy also executes the mutation defined in database/seed.graphql so your service will be seeded with initial data.

You can then run the following commands to start the server and open a Playground:

yarn install
yarn dev

More info

For more information about this example, read the accompanying blog post.