marcboeren / millionf1

Formula 1 statistics viewer with a GraphQL back-end and a React front-end.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

millionf1

Formula 1 statistics viewer with a GraphQL back-end and a React front-end.

This uses data from http://ergast.com/mrd/, please refer to their terms if you want to do anything more than this demo-app.

Start server

cd server
npm start

Now go to your browser and enter http://localhost:3001/graphiql.

Query:

{
  season {
    year,
    races {
      round,
      name,
      results {
        position,
        number,
        driver {
          name,
          givenName,
        },
        points,
      },
    },
  }
}

Formula 1 statistics viewer GraphiQL interface in action

Start client dev

cd client
npm start

Go to http://localhost:3000.

Formula 1 statistics viewer in action

About

Formula 1 statistics viewer with a GraphQL back-end and a React front-end.

License:Apache License 2.0


Languages

Language:JavaScript 90.8%Language:CSS 6.8%Language:HTML 2.4%