-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ccabo1
committed
Sep 8, 2018
1 parent
ff72dbc
commit 9b75590
Showing
5 changed files
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
# React-GraphQL | ||
|
||
How to follow along: | ||
Hi there! Let's learn some more about React and GraphQL. If you want to follow along, do the following: | ||
|
||
0. Check out [this Apollo Launchpad](https://launchpad.graphql.com/0vp11m31k5). We will use this as our server to pull data. | ||
1. Clone this repository | ||
2. `yarn install` or `npm install` | ||
3. `yarn start` or `npm start` | ||
4. Go to `localhost:3000` in your browser | ||
5. Follow along or forge your own path :) | ||
|
||
-------------------- | ||
|
||
### More about this repo | ||
|
||
* This is effectively `creat-react-app` with a little clean up, some styles, and some packages to make getting up and running with GraphQL easier. | ||
* All code regarding making queries and rendering stuff goes down in the `/components` folder. | ||
* All code regarding setting up the app goes down in `index.js` and `App.js`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
.App { | ||
.app { | ||
text-align: center; | ||
} | ||
|
||
.App-header { | ||
.header { | ||
background-color: #222; | ||
padding: 2rem 0rem; | ||
color: white; | ||
} | ||
|
||
.App-title { | ||
font-size: 1.5em; | ||
.title { | ||
font-size: 2em; | ||
} | ||
|
||
.App-intro { | ||
font-size: 1.25em; | ||
p { | ||
font-size: 2em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters