-
Install NPM packages in client & server folders
cd client yarn install cd subgraph-locations yarn install cd subgraph-reviews yarn install
- Run subgraphs
cd subgraph-locations
yarn start
# Result
🚀 Subgraph locations running at http://localhost:4001/
###################
cd subgraph-reviews
yarn start
# Result
🚀 Subgraph reviews running at http://localhost:4002/
- Run router
cd router
yarn start
# Result
INFO GraphQL endpoint exposed at http://127.0.0.1:4000/ 🚀
- Run client app
cd client
yarn start
# Result
Compiled successfully!
You can now view client in the browser.
Local: http://localhost:3000
On Your Network: http://192.168.50.12:3000
Note that the development build is not optimized.
To create a production build, use yarn build.
webpack compiled successfully
# Under subgraph folders
yarn update
# Under project root
yarn update:locations
yarn update:reviews