Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 927 Bytes

ROUTER-README.md

File metadata and controls

30 lines (18 loc) · 927 Bytes

Apollo Router

1. Download the Router

Follow step 1 of Apollo Router quickstart to download and run the router.

2. Run the Router

Your execution should like look this to run the router against your lynx supergraph after downloading the router.

APOLLO_KEY='service:lynx-n321j:xxxxxxxxxxxxxxxxxxxxxx' \
APOLLO_GRAPH_REF="lynx-n321j@current" \
./router

This results in the supergraph running in the router locally with a GraphQL endpoint of:

http://localhost:4000

If you encounter errors when executing queries, you may find it useful to configure the router to include subgraph errors. To enable this within the router, follow the instructions here.