Skip to content

nikolasburk/info-prisma-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demystifying the info object in GraphQL resolvers

Usage

git clone [email protected]: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.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published