This is generated from react-apollo-starter-kit. Look at that project's README for info on some of the libraries used.
- Install RethinkDB
npm install
npm run dev
- Go to
localhost:3000
to load the app - Go to
localhost:3000/graphql
to mess around with the GraphQL API - Go to
localhost:8080
to use the RethinkDB admin console
- Set up an ESLint plugin in your code editor so that you catch coding errors and follow code style guidelines more easily!
- Install the redux-devtools-extension in Chrome to get advanced Redux debugging features.
- Right now there is a bug in Apollo (apollographql/react-apollo#57) that means in one particular case, errors get swallowed. If you end up with an app that is silently breaking, console.log(this.props.data) and check the errors property.
If you need to use Twilio in development but with live keys, do the following to receive incoming replies:
- Start ngrok
- Visit https://www.twilio.com/console/voice/dev-tools/twiml-apps and go to the Spoke Dev app.
- Set Request URL under "Messaging" to http://<<YOUR_NGROK>>.ngrok.io/twilio
- In
.env
setTWILIO_APPLICATION_ID
to the Twilio Spoke Dev application ID - In
.env
setTWILIO_STATUS_CALLBACK_URL
to http://<<YOUR_NGROK>>.ngrok.io/twilio-message-report