Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 824 Bytes

javascript.md

File metadata and controls

25 lines (16 loc) · 824 Bytes

JavaScript setup

  • Install Node.js version >=18
  • (optional) Instal Yarn version >= 1.22.19

Run the server

Using YARN (with workspaces)

  1. open a terminal on the root directory
  2. run yarn to install the dependencies if you didn't before
  3. run yarn workspace js_<DAY NUMBER> start to start the GraphQL server

Using NPM

  1. open a terminal
  2. go to the javascript exercise directory
  3. run npm install to install the dependencies if you didn't before
  4. 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