Skip to content

Commit 86e68e4

Browse files
committed
init
0 parents  commit 86e68e4

File tree

14 files changed

+11890
-0
lines changed

14 files changed

+11890
-0
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 70,
6+
}

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# react-apollo-client-optimistic-ui-example
2+
3+
A minimal React application using Apollo Client with GitHub's GraphQL API. As example Apollo Client's optimistic UI feature is implemented.
4+
5+
## Installation
6+
7+
* `git clone git@github.com:rwieruch/react-apollo-client-optimistic-ui-example.git`
8+
* cd react-apollo-client-optimistic-ui-example
9+
* npm install
10+
* [add your own REACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN in .env file](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
11+
* scopes/permissions you need to check: admin:org, repo, user, notifications
12+
* npm start
13+
* visit `http://localhost:3000`
14+
15+
## Want to learn more about React + GraphQL + Apollo?
16+
17+
* Don't miss [upcoming Tutorials and Courses](https://www.getrevue.co/profile/rwieruch)
18+
* Check out current [React Courses](https://roadtoreact.com)

0 commit comments

Comments
 (0)