install node
node -v
v14.17.6
install yarn
yarn -v
1.22.11
###How to run
$: git clone https://github.com/jithumajinu/react-graphql-boilerplate.git
- cd graphql-server
- yarn install
- yarn start:local
yarn run v1.22.11
$ nodemon index.js
[nodemon] 2.0.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node index.js`
Now browse to http://localhost:4000/graphql
- open new terminal
- cd client-app
- yarn install
- yarn start
GraphQL and reactApp
Packages | Description |
---|---|
graphql-server | GraphQL |
client-app | React |
###Helping extensions
-
Apollo Client Devtools
: https://chrome.google.com/webstore/detail/apollo-client-devtools/jdkknkkbebbapilgoeccciglkfbmbnfm -
GraphqlStudio
: https://studio.apollographql.com/