This is a GraphQL starter project to help people stalk open source repositories and take notes on them. This project uses Graphcool as a GraphQL backend, Apollo as the GraphQL client, and Netlify to deploy.
The data fetching from GitHub uses their GraphQL Early Access API exclusively.
Setup your GraphQL backend using the graphql-up button at the top of this section. Once your backend is created in Graphcool, copy your GraphQL enpoint using the enpoints link.
!Important: 👉 To get access to the GitHub early access GraphQL API, fill out the prerelease agreement
You will need a GitHub access token to access the repository data fetching portion of this app. You can find instructions on how to retrieve one on GitHub.
Be sure to allow access to your user information when creating your token.
Click the deploy to Netlify button and add your GitHub access token and Graphcool Endpoint.
npm test
// to clean snapshots
npm run clean
Authentication is handled through Netlify's Identity service. By default, user registration is open, meaning users can sign up using a form on your site. You can include the Netlify Identity widget in your site to handle this, or build your own form and integrate it using gotrue-js.
This project uses the sw-precache to kickstart an offline cache. The offline cache only registers in production. If service needs to be manually removed make an unregister call from the registerServiceWorker.js import.
SVG Icons are from the open source Feather Icons project.