apollographql / apollographql/fullstack-tutorial
Missing step to uncomment dotenv configuration
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.2k
- Forks
- 808
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
We should mention somewhere around [here](https://www.apollographql.com/docs/tutorial/production.html#api-key) that [this line](https://github.com/apollographql/fullstack-tutorial/blob/master/final/server/src/index.js#L1) should be uncommented in order for `dotenv` configuration to take effect. Without this, metrics are not sent to Apollo Engine since the Apollo server does not actually have the ENGINE_API_KEY set. Also, some acknowledgement of how this works via the `dotenv` module seems like it would be appropriate.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginnen Sie im Produktions-Tutorial in der Nähe des Abschnitts zum API-Schlüssel und untersuchen Sie server/src/index.js in Zeile 1, wo auf die dotenv-Konfiguration verwiesen wird. Aktualisieren Sie die Dokumentation, um zu erklären, wie diese Zeile auskommentiert wird und wie dotenv ENGINE_API_KEY bereitstellt, damit Apollo Engine-Metriken gesendet werden; das Tutorial sollte diese Einrichtung eindeutig erwähnen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- graphql, javascript, node.js
- Bereich
- backend, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 50/100