react-redux-apollo-authenticaton-example
react-redux-apollo-authenticaton-example copied to clipboard
Authentication flow example using http://scaphold.io: GraphQL backend as a service.
react-redux-apollo-authentication-example
An authentication flow example using GraphQL as a service provided by Scaphold.io
Includes
- React
- React Router
- Redux
- Apollo
Setup the backend
- Create an account on Scaphold.io
- Create your first App on the Apps menu.
- Then copy the endpoint from My API menu.
- Open the
config.json
file based on the root directory and change thegraphQLServiceUri
to your Scaphold app endpoint.
You dont need to create any schema. Scaphold.io already provides a User schema designed for the needs of this project.
Setup this project
yarn # or npm install
yarn start # or npm start
The project should be listening on http://localhost:3000