- git clone https://github.com/OneGraph/graphiql-explorer-example
- cd graphiql-explore-example
- yarn install
- yarn start
- on localhost:3000 play with OneGraph data
- Replace
https://serve.onegraph.com/dynamic?app_id=c333eb5b-04b2-4709-9246-31e18db397e1
with url that looks like followinghttps://xxxxxxx.execute-api.us-east-1.amazonaws.com/dev/graphql
in src/App.js - And make
const DEFAULT_QUERY
in src/App.js be following
const DEFAULT_QUERY = `{
taxis {
company(companyId: "02655284") {
companyName
}
}
}`;
- yarn start
- on localhost:3000 play with dsdemo data
- clone this repo
- cd to repo
- yarn install
- sls deploy
- in graphiql-explorer-example replace endpoint with your new just deployed api
- run yarn start in graphiql-explorer-example
- play with data
- you are now using crawler from your own aws account