Home

Awesome

RAF

An Apollo GraphQL example using React and FakerQl.

Motivation

FakerQL is a hosted GraphQL endpoint that allows you to send queries, mutations and subscriptions for totally fake data. In this case I'll use it for testing Apollo client along with React.js. The login and register mutations return a JWT which is great for applications that require authentication.

What’s Included?

The project is created to build a modern React application:

Getting started

Run the following script in diferent terminals:

npm run build:dev
# and in the other terminal
npm run start:dev

Or if you prefer Yarn

yarn build:dev
# and in the other terminal
yarn start:dev

Tests

yarn lint
yarn lint:fix

Building RAF

Just make sure your lints are okay :D

Contributors