Welcome to the project for GraphQL Summit 2023 "Federated Subscriptions in GraphOS" workshop!
Please complete the following pre-requisites and installations before the workshop.
You will need:
- An Apollo GraphOS account with either:
- An Enterprise plan, with at least Contributor access in your organization.
- An Enterprise Trial, for those without an Enterprise plan.
- Download the Apollo Router binary.
- Install the Rover CLI.
- Authenticate the Rover CLI.
- You can use a personal API key.
- Go to the
client
app repository and follow the README instructions there: https://github.com/apollographql/demo-kahoot-clone-client - Clone this repository.
- Follow the installation instructions for your chosen language below.
-
Navigate to the
quiz_subgraphs_ts
folder. -
Navigate to the
quiz
folder. -
Run
npm i
, thennpm run dev
. This will run the quiz subgraph on port 4005. -
Navigate to the
quiz_subgraphs_ts/player
folder. -
Run
npm i
thennpm run dev
. This will run the player subgraph on port 4006.
-
Navigate to the
quiz_subgraphs/rs
folder. -
Navigate to the
quiz
folder. This will run the quiz subgraph on port 4005. -
Run
cargo run
. -
Navigate to the
quiz_subgraphs_rs/player
folder. -
Run
cargo run
. This will run the player subgraph on port 4006.
For any issues or problems, join us on Discord in the #summit-workshops channel.