Giter Club home page Giter Club logo

tennis-scores's Introduction

GraphQL Tennis Scores

This repo will help you setup a small React app that talks to a GraphQL endpoint.

The get up and running you have to complete these steps:

  1. Clone this repo
  2. Create a free Hasura project and deploy it to Heroku
  3. Import a database structure and some sample contents
  4. Generate a GraphQL Schema using Hasura
  5. Explore the data using Hasura's playground (GraphiQL)
  6. Configure the Apollo to talk to the graphql endpoint

The tennis scores GraphQL endoint

We need a GraphQL endpoint to talk to. We will quickly setup our own using Heroku and Hasura.

Want to create a new GraphQL app from scratch?

To setup something similar to this or a new project, you just need a few steps

  1. Create a new React app (if you haven't already)
  2. npm install apollo-boost @apollo/react-hooks graphql
  3. basically just follow the steps here: https://www.apollographql.com/docs/react/get-started/

tennis-scores's People

Contributors

quynhho-2007 avatar

Watchers

 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.