You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,39 +35,16 @@ Open your browser at http://localhost:3000
35
35
36
36
In the project directory, you can run:
37
37
38
-
### `npm start`
38
+
-### `npm start`
39
39
40
-
Runs the app in the development mode.<br>
41
-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
40
+
-### `npm test`
42
41
43
-
The page will reload if you make edits.<br>
44
-
You will also see any lint errors in the console.
42
+
-### `npm run build`
45
43
46
-
### `npm test`
47
-
48
-
Launches the test runner in the interactive watch mode.<br>
49
-
See the section about [running tests](#running-tests) for more information.
50
-
51
-
### `npm run build`
52
-
53
-
Builds the app for production to the `build` folder.<br>
54
-
It correctly bundles React in production mode and optimizes the build for the best performance.
55
-
56
-
The build is minified and the filenames include the hashes.<br>
57
-
Your app is ready to be deployed!
58
-
59
-
See the section about [deployment](#deployment) for more information.
60
-
61
-
### `npm run eject`
44
+
-### `npm run eject`
62
45
63
46
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
64
47
65
-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
66
-
67
-
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
68
-
69
-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
70
-
71
48
## Collaborative editing by multiple users
72
49
73
50
To collaborate on a TODO list, open the same url in _another browser or incognito window_. You should see the TODO lists sync automatically.
@@ -76,9 +53,9 @@ To collaborate on a TODO list, open the same url in _another browser or incognit
76
53
77
54
This example is based on [React TodoMVC](https://github.com/tastejs/todomvc/tree/master/examples/react).
78
55
79
-
- Initializing OrbitDB and IPFS happens in [store](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/store.js)
80
-
- OrbitDB calls happen in [model](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/todoModel.js)
81
-
- The database and app are hooked together in [app](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/app.jsx#L188)
56
+
- Initializing OrbitDB and IPFS happens in [store](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/utils/store.js)
57
+
- OrbitDB calls happen in [model](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/utils/todoModel.js)
58
+
- The database and app are hooked together in [app](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/index.js#L23)
0 commit comments