Support for Relay Modern

I personally recommend using a stack containing React w/TypeScript, Apollo Client, graphql-codegen, and integrating with Auth0. I have put together a repo you might be interested in that is still under review that hopefully will be published to npm as a CRA template.

For clarification though on the README from the link above, you cannot currently call the template with

npx create-react-app your-path-to-new-app --template slash-graphql --use-npm

because it has not been published yet to npm.

You can clone this project to your local machine and start a project using it as a template by specifying the full path like

npx create-react-app test --template file:../path/to/cloned/repo --use-npm

There is even a script in this repo that walks you through deploying a Slash backend and configuring Auth0

npm run quickstart

It works as a walk through from the command line with prompts to Copy/Paste data in from Auth0.

1 Like