Skip to content

Commit 0b6e4ed

Browse files
App bootstrap
1 parent 318d179 commit 0b6e4ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+21635
-2
lines changed

.gitignore

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
# Node.js
22
node_modules
3-
npm-debug.log
43

54
# Bundles
65
bundle.js
76
bundle.js.map
87

9-
/old
8+
# testing
9+
coverage
10+
11+
# production
12+
build
13+
14+
# misc
15+
.DS_Store
16+
.env
17+
npm-debug.log
18+
19+
/build

instructions/0-create-the-app.md

Whitespace-only changes.

instructions/1-your-first-component.md

Whitespace-only changes.

instructions/2-the-wine-app.md

Whitespace-only changes.

instructions/3-connect-with-the-wine-api.md

Whitespace-only changes.

instructions/4-handle-likes.md

Whitespace-only changes.

instructions/5-handle-comments.md

Whitespace-only changes.

instructions/6-integrate-with-third-party-apis.md

Whitespace-only changes.

instructions/patterns.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Classic patterns with React
2+
3+
## A basic component
4+
5+
## Mount a component into the dom
6+
7+
## A stateful component
8+
9+
## Component styling
10+
11+
### Classic styling
12+
13+
### Style a component with a css file
14+
15+
### Style a component with inline styling
16+
17+
## Add props on `this.props.children`
18+
19+
## Loading data from an HTTP services
20+
21+
## Conditional display of components
22+
23+
## Make an HTTP call

package.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "react-101",
3+
"version": "1.0.0",
4+
"private": true,
5+
"devDependencies": {
6+
"react-scripts": "0.6.1"
7+
},
8+
"dependencies": {
9+
"es-symbol": "^1.1.2",
10+
"es6-shim": "^0.35.1",
11+
"react": "^15.3.2",
12+
"react-dom": "^15.3.2",
13+
"whatwg-fetch": "^1.0.0"
14+
},
15+
"scripts": {
16+
"start": "react-scripts start",
17+
"build": "react-scripts build",
18+
"test": "react-scripts test --env=jsdom",
19+
"eject": "react-scripts eject"
20+
}
21+
}

public/css/custom.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.wine-detail-image {
2+
margin: 16px;
3+
}

0 commit comments

Comments
 (0)