Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 878 Bytes

File metadata and controls

27 lines (20 loc) · 878 Bytes

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.

Scaphold.io My API

  • Open the config.json file based on the root directory and change the graphQLServiceUri 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