GraphQLを一通り楽しめるサンプルです。
こちらの記事のために作ったサンプルです。
https://qiita.com/SiragumoHuin/items/cc58f456bc43a1be41b4
node src/1/index.js
Access http://localhost:4000 in Web browser.
yarn install
mkdir graphQL-sample
cd graphQL-sample
yarn init -y
mkdir src
touch src/index.js
yarn add graphql-yoga