This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the Engine proxy and observe queries on Engine #graphql-in-pro…
…duction [API] ### Instructions 1. Create a new Engine instance and put it in front of your app 2. Start the Engine proxy server 3. Add the Engine middleware to the Express server 4. Confirm that the app works as before 5. Go to Engine and observe your queries! Compare database fields with external api calls, etc. --- ### Tips - Edit `api/src/server/index.js` and `api/.env` - You'll need your Engine API Key that you got at the beginning of the training - Change the app's port number so the proxy can accept network requests on its behalf. - Look at the previous slides for inspiration ### Docs - [Engine docs](http://engine-docs.apollographql.com/) - [Engine package](https://github.com/apollographql/apollo-engine-js) - [Engine website](https://engine.apollographql.com/)
- Loading branch information