Skip to content

Commit f138ea6

Browse files
committed
update README
1 parent 52c4a76 commit f138ea6

File tree

5 files changed

+11
-21
lines changed

5 files changed

+11
-21
lines changed

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This starter also embeds `JWT token based` `authentication` (check [Route](https
2121
**Front:**
2222
- React JS (15.x - [github :link:](https://github.com/facebook/react))
2323
- Redux (*as you application grows managing state will be a serious concern, save pain with Redux*)
24-
- apollo-client (*learn about this beast [here in officiel website](http://dev.apollodata.com/)*)
24+
- apollo-client (*futur of API. Learn about this beast [here in officiel website](http://dev.apollodata.com/)*)
2525
- React-Redux (*Redux is not specific to ReactJS, you could easily use it with Angular2 for instance*)
2626
- Redux-devtools (*want to time travel your application State?*)
2727
- React-Router-Redux (*previously named react-simple-router*)
@@ -62,10 +62,15 @@ This starter also embeds `JWT token based` `authentication` (check [Route](https
6262

6363
### Prerequisite
6464

65-
An Easy and fast way to get your graphql backend is to register for free at [scaphold](https://scaphold.io).
65+
An Easy and fast way to get your graphql backend is to **register for free at [Scaphold](https://scaphold.io)**.
6666

6767
> This starter has been created with a scaphold free plan.
6868
69+
**Create an application**
70+
71+
- ![sample request before submitting](https://raw.githubusercontent.com/MacKentoch/react-redux-graphql-apollo-bootstrap-webpack-starter/master/print_screens/create_app_modal.png)
72+
73+
6974
Then, configure your networkInterface in the app config in `./src/app/config.index.js`:
7075

7176
```javascript

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "react-redux-graphql-apollo-bootstrap-webpack-starter",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "react js + redux + graphQL + Apollo + react router + hot reload + devTools + bootstrap + webpack starter",
55
"main": "src/index.js",
66
"scripts": {
77
"dev": "NODE_ENV=dev webpack",
88
"test": "NODE_ENV=test nyc mocha test/.setup.js test/**/*.spec.js --compilers js:babel-core/register --recursive",
9-
"coverage": "nyc report --reporter=text-lcov | coveralls",
109
"prod": "NODE_ENV=production webpack -p --config webpack.production.config.babel.js ",
1110
"start": "NODE_ENV=dev babel-node --presets es2015 ./server.hot.reload.js",
1211
"dev-win": "setx NODE_ENV=dev webpack",
@@ -36,10 +35,10 @@
3635
],
3736
"repository": {
3837
"type": "git",
39-
"url": "git+https://github.com/MacKentoch/react-redux-bootstrap-webpack-starter.git"
38+
"url": "git+https://github.com/MacKentoch/react-redux-graphql-apollo-bootstrap-webpack-starter.git"
4039
},
4140
"bugs": {
42-
"url": "https://github.com/MacKentoch/react-redux-bootstrap-webpack-starter/issues"
41+
"url": "https://github.com/MacKentoch/react-redux-graphql-apollo-bootstrap-webpack-starter/issues"
4342
},
4443
"author": "Erwan DATIN (MacKentoch)",
4544
"license": "MIT",

print_screens/create_app_modal.png

75.2 KB
Loading

src/app/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const appConfig = {
22
// apollo client:
33
apollo: {
4-
networkInterface: '' // exemple: http://localhost:8080/graphql
4+
networkInterface: 'https://v2.api.scaphold.io/graphql/flawless-basketball' // exemple: http://localhost:8080/graphql
55
}
66
};

0 commit comments

Comments
 (0)