https://github.com/graphprotocol/hackathon-react-apollo-app
React, Apollo & Material UI example app
https://github.com/graphprotocol/hackathon-react-apollo-app
Last synced: 10 months ago
JSON representation
React, Apollo & Material UI example app
- Host: GitHub
- URL: https://github.com/graphprotocol/hackathon-react-apollo-app
- Owner: graphprotocol
- Created: 2018-09-04T21:44:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-23T00:08:33.000Z (almost 4 years ago)
- Last Synced: 2025-03-23T18:51:51.143Z (10 months ago)
- Language: JavaScript
- Homepage: https://hackathon.now.sh/
- Size: 1.85 MB
- Stars: 5
- Watchers: 9
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hackathon React Apollo Example
This is an example UI app for the hackathon. It uses [React](https://reactjs.org/), [Apollo](https://www.apollographql.com/docs/react/) and [MaterialUI](https://material-ui.com/) libraries.
## Contents
- This project is set up using `react-scripts`
- We use [Prisma](https://www.prisma.io/) to mock a GraphQL server. Connection to the Prisma endpoint is achieved though Apollo Client in [`src/apollo.js`](src/apollo.js).
- Example components can be found in [`src/components/`](src/components/)
- An example GraphQL schema can be found in [`src/domain/schema.graphql`](src/domain/schema.graphql)
## Build and run
1. Run `yarn` to install dependencies.
2. Run `yarn start` to serve the example components on http://localhost:3000
3. Run `yarn build` to build the code for production
## License
Copyright © 2018 Graph Protocol, Inc.
Licensed under the [MIT License](LICENSE).