graphql-yoga is a fast and simple GraphQL server library built on top of Express.js. It comes with several features, such as out-of-the-box support for GraphQL Playgrounds and realtime GraphQL subscriptions.
The resolvers of your GraphQL server are implemented using the Prisma client that’s responsible for database access.
Credit: https://www.howtographql.com
- Clone this repo
- Run command node src/index.js from root directory
- Visit the http://localhost:4000/ to run queries on the GraphQL Playground