diff --git a/README.md b/README.md new file mode 100644 index 0000000..9dc3052 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +CENTVRION +========= + +## Introduction +The projects consists of two projects, a frontend written in React, and a backend written in javascript. Both communicate with a websocket. + +## Setup +Download centurion.m4a and place it in frontend/public/centurion.m4a + +Start the backend with `npm run app` and the frontend with `npm run start`. + + + + + diff --git a/backend/package.json b/backend/package.json index 6e4cc44..11de22f 100644 --- a/backend/package.json +++ b/backend/package.json @@ -4,7 +4,8 @@ "description": "", "main": "./src/index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "app": "node src/index.js" }, "author": "", "license": "ISC", diff --git a/frontend/package.json b/frontend/package.json index f0eda4e..7c84d05 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,7 +15,7 @@ "node-sass": "^4.13.1", "react": "^16.12.0", "react-dom": "^16.12.0", - "react-scripts": "3.3.1", + "react-scripts": "^3.4.0", "react-transition-group": "^4.3.0", "socket.io-client": "^2.3.0", "sscaffold-css": "^0.1.0",