Skip to content

Commit 5e0ffc4

Browse files
committed
fix
1 parent 74ac6b9 commit 5e0ffc4

File tree

6 files changed

+112
-408
lines changed

6 files changed

+112
-408
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See https://help.github.com/ignore-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
4+
node_modules
55

66
# testing
77
/coverage

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: cd server && npm start
1+
web: npm run server

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@
1313
"regl": "^1.3.0",
1414
"seedrandom": "^2.4.3",
1515
"simplex-noise": "^2.3.0",
16-
"smoothstep": "^1.0.1"
16+
"smoothstep": "^1.0.1",
17+
"body-parser": "^1.17.2",
18+
"cors": "^2.8.4",
19+
"express": "^4.15.4",
20+
"mongodb": "^2.2.31"
1721
},
1822
"devDependencies": {
1923
"react-scripts": "1.0.10"
2024
},
2125
"scripts": {
26+
"server": "node server/index.js",
2227
"start": "./start.sh",
2328
"build": "react-scripts build",
2429
"test": "react-scripts test --env=jsdom",

server/package.json

-16
This file was deleted.

0 commit comments

Comments
 (0)