-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
18 lines (16 loc) · 803 Bytes
/
.env.example
File metadata and controls
18 lines (16 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Apollo GraphOS credentials — required for federated subscriptions in Router 2.x
#
# How to get these:
# 1. Create a free account at https://studio.apollographql.com
# 2. Create a new graph (or use an existing one)
# 3. In graph Settings → API Keys, create a "Graph API Key"
# 4. APOLLO_GRAPH_REF = "<graph-id>@<variant>" (e.g. "my-graph@main")
# 5. Copy this file to .env and fill in the values
#
# Once set, uncomment the subscription block in router/router.yaml to enable
# federated subscriptions via the HTTP callback protocol.
APOLLO_KEY=service:your-graph-id:xxxxxxxxxxxxxxxxxxxx
APOLLO_GRAPH_REF=your-graph-id@main
# Web app (optional — defaults to http://localhost:4000)
# Override if your Router is exposed on a different host/port.
# VITE_GRAPHQL_URL=http://localhost:4000