GithubHelp home page GithubHelp logo

juandc / raf Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 201 KB

🎁 An Apollo GraphQL example using React and FakerQl. - πŸ‘· Under construction

License: MIT License

JavaScript 100.00%
apollographql apollo-client apollo react reactjs react-apollo graphql gql fakerql webpack

raf's Introduction

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:

  • React 16.3
  • Webpack and React Router 4
  • Apollo client 2.2
  • Styled Components
  • Server Side Rendering
  • Code Spliting (by Vendor and Routes) (working in)
  • Live Reload (without browser extension)
  • Bundle Analizer (comming soon)
  • Linter with prettier and eslint (airbnb's config)

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

raf's People

Contributors

juandc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.