Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 884 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 884 Bytes

Running the Swag Shop locally

Open the 💈SHOP💈

./openTheShop runs all subgraphs and a router via rover dev as well as the client react dev server, all using concurrently

image
98232eee-db62-48f4-97ab-08e93d02babb.mp4

Troubleshooting

No Router?

Altough the openTheShop command checks for the presence of a router binary and installs it for you if it doesnt exist, you may need to install one manually. To do so, download an Apollo Router binary and put it in the ./router folder:

curl -sSL https://router.apollo.dev/download/nix/latest | sh

Site looks blank on first load

React's dev server probably loaded before the supergraph+subgraphs were up. Hit reload and it should show up.