A walk in GraphQL
JavaScript setup
Run the server
Using YARN
(with workspaces)
- open a terminal on the root directory
- run
yarn
to install the dependencies if you didn’t before - run
yarn workspace js_<DAY NUMBER> start
to start the GraphQL server
Using NPM
- open a terminal
- go to the javascript exercise directory
- run
npm install
to install the dependencies if you didn’t before - run
npm start
to 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