Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amodinho/formulaone-graphql-client
The front-end for 'FanBoost', powered by React-Apollo! ππ
https://github.com/amodinho/formulaone-graphql-client
apollo cssgrid grapql react tdd testing
Last synced: 26 days ago
JSON representation
The front-end for 'FanBoost', powered by React-Apollo! ππ
- Host: GitHub
- URL: https://github.com/amodinho/formulaone-graphql-client
- Owner: AmoDinho
- Created: 2018-09-26T10:44:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T07:52:39.000Z (almost 6 years ago)
- Last Synced: 2024-11-04T09:18:36.319Z (2 months ago)
- Topics: apollo, cssgrid, grapql, react, tdd, testing
- Language: JavaScript
- Homepage: https://fanboost.netlify.com/
- Size: 1.13 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fan Boostπ
![Screenshot](screenshot-localhost-3001-2018.10.31-16-41-09.png)
This is the front-end for FanBoost. It is written in React and uses Apollo as it's bindings to a GraphQL server. FanBoost allows users to create Formula One Circuits and Drivers. Users can also 'fan-boost' drivers to see which drivers have the most boosts. Users can also enjoy curated F1 video content. Users' accounts are secured using JWTs.
Most of the typical GraphQL use cases are explored in this project such as Queries, Mutations and Subscriptions. The app is an SPA which lives on Netlify. If you're looking to learn how to use GraphQL on the front-end then you have landed in the right place!
## Features
* React-Apollo: Helps you connect to a GraphQL server and access `` and `` components to send and recieve data from your GraphQL API.
* Tachyons: A CSS-Framework.
* CSS Grid: A spec for creating grid layouts natiely.
* Jest & Enzyme: Tooling for writting tests.
* Maps Interagtiong: This is powered by Google MapsThe back-end repo is [here](https://github.com/AmoDinho/formulaone-graphql/blob/master/README.md)
This project uses yarn which can be downloaded from [here](https://yarnpkg.com/en/).
# Setup Instructions
First clone the repo
```
$ git clone https://github.com/AmoDinho/formulaone-graphql-client.git```
Then you need to install the dependancies:
```
$ yarn install
```Then you start the dev server:
```
$ yarn start```
Your backend server should be running on `localhost://3000`, create-react-app will default to `localhost://3001` for you.
# Deployment Instructrions
**TO BE DONE**
The Design System is on [Figma](https://www.figma.com/file/CmYEyRWOtCuT2fgiTZrsNsMp/F1-App?node-id=0%3A1).
The following resources were used to create this app:
* [Advanced React](https://github.com/wesbos/Advanced-React)
* [Boilerplate for a Fullstack GraphQL App with React & Prisma](https://github.com/alan345/naperg)
* [How to GraphQL:React-Apollo](https://github.com/howtographql/react-apollo)
* [React-Apollo Docs](https://www.apollographql.com/docs/react/)
* [GraphQL Docs](https://graphql.org/)