A walk in GraphQL
JavaScript setup
Run the server
Using YARN (with workspaces)
- open a terminal on the root directory
- run
yarnto install the dependencies if you didn’t before - run
yarn workspace js_<DAY NUMBER> startto start the GraphQL server
Using NPM
- open a terminal
- go to the javascript exercise directory
- run
npm installto install the dependencies if you didn’t before - run
npm startto start the GraphQL server
GraphQL Playground
Open your browser and type http://localhost:4000/ to display the GraphQL playground so you can run the queries against the server