Skip to content

The Xolvio Swag Shop is a React application built to demonstrate the power of integrating multiple technologies, including ApolloGraphQL. It is served from three subgraphs and provides an ideal environment for testing, demo purposes, and showcasing interaction with InstantMock.

Notifications You must be signed in to change notification settings

xolvio/swag-shop

Repository files navigation

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.

About

The Xolvio Swag Shop is a React application built to demonstrate the power of integrating multiple technologies, including ApolloGraphQL. It is served from three subgraphs and provides an ideal environment for testing, demo purposes, and showcasing interaction with InstantMock.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •