info object in GraphQL resolvers
git clone firstname.lastname@example.org:nikolasburk/info-prisma-example.git 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.
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
For more information about this example, read the accompanying blog post.