You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
Enable the Engine proxy and observe queries on Engine #graphql-in-production
[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/)
0 commit comments