/chuk-apollo-client

A react app to consume a Graph QL API

Primary LanguageTypeScript

Chuck Norris apollo react app

This is a react app with TypeScript and Apollo client intended to query the Chuck norris API. This app uses a local GraphQL API to be used as a wrapper between the Chuck norris api and the React app. The local api is found Here.

Prerequisites

  • Node Js installed at least version 12

How to run the app

  • Clone the repo
  • On the root folder run
    npm install
  • This should install all dependencies
  • Make sure that the Local GraphQl API is up and running otherwise, you won't be able to query the API
  • Then run
   npm run start
  • The start script will start the app on port 3000 if available and launch the browser
  • Enjoy the APP and have a laugh 😹