Skip to content

Commit 7148bc6

Browse files
committed
Initial commit
1 parent 66c3b67 commit 7148bc6

Some content is hidden

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

76 files changed

+4799
-2
lines changed

.gitignore

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# wcd-todo-tutorial
2-
A beginner tutorial for Webcodesk
1+
# A beginner tutorial for Webcodesk
2+

jsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "src"
4+
}
5+
}

package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "wcd-todo-tutorial-demo",
3+
"version": "1.0.0",
4+
"private": true,
5+
"devDependencies": {
6+
"@material-ui/core": "4.9.2",
7+
"@webcodesk/react-app-framework": "2.0.26",
8+
"cross-env": "6.0.3",
9+
"express": "4.17.1",
10+
"localforage": "1.7.3",
11+
"lodash": "4.17.15",
12+
"prop-types": "15.7.2",
13+
"react": "16.11.0",
14+
"react-dom": "16.11.0",
15+
"react-helmet": "5.2.1",
16+
"react-scripts": "3.2.0"
17+
},
18+
"scripts": {
19+
"start": "cross-env PORT=3030 BROWSER=none react-scripts start",
20+
"build": "cross-env GENERATE_SOURCEMAP=false react-scripts build",
21+
"test": "react-scripts test --modulePaths=src",
22+
"eject": "react-scripts eject",
23+
"wcd": "webcodesk-srv -p 7070",
24+
"server": "node ./server.js"
25+
},
26+
"eslintConfig": {
27+
"extends": "react-app"
28+
},
29+
"browserslist": {
30+
"production": [
31+
">0.2%",
32+
"not dead",
33+
"not op_mini all"
34+
],
35+
"development": [
36+
"last 1 chrome version",
37+
"last 1 firefox version",
38+
"last 1 safari version"
39+
]
40+
}
41+
}

server.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const express = require('express');
2+
const path = require('path');
3+
4+
const port = 8888;
5+
6+
const app = express();
7+
8+
app.use(express.static(path.join(__dirname, 'build')));
9+
10+
app.get('/*', function(req, res) {
11+
res.sendFile(path.join(__dirname, 'build', 'index.html'));
12+
});
13+
14+
app.listen(port, () => {
15+
console.info('Server started on port: ' + port);
16+
});
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export default {};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export default {};

src/app/indices/userComponents.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/indices/userFunctions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export default {'usr':{'atom':{'PageRouteAnchor':require('usr/atom/PageRouteAnchor.funcs'),},'todo':{'NavigationTabs':require('usr/todo/NavigationTabs.funcs'),'NewNoteForm':require('usr/todo/NewNoteForm.funcs'),'ToDoActions':require('usr/todo/ToDoActions.funcs'),'ToDoNotesList':require('usr/todo/ToDoNotesList.funcs'),},},};

src/app/schema-prod/flows.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export default {};

0 commit comments

Comments
 (0)