Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 900 Bytes

README.md

File metadata and controls

51 lines (41 loc) · 900 Bytes

Github Graphql API React client

Project developed for Aceleradev React. It is a react client application that consumes Github GraphQL API to display information about users and repositories.

Check out the Demo!

Stack

  • React
  • Create React App
  • Apollo Client
  • Redux
  • React Router
  • Styled-components

Requirements

  • Node.js
  • Yarn
  • Github API token

Installation

  1. Clone this repo

  2. Install dependencies

yarn install
  1. Add enviroment variables

  2. Run the app in development mode

yarn start
  1. Access application at http://localhost:3000

Enviroment variables

Create a .env file in the root of the project and add these variables:

REACT_APP_GITHUB_TOKEN

Absolute imports

Using jsconfig.json

{
  "compilerOptions": {
    "baseUrl": "src"
  },
  "include": ["src"]
}