add readme and fix package.json requirement and script

master
Florens Douwes 5 years ago
parent bc220c9765
commit 865fc7897e
  1. 15
      README.md
  2. 3
      backend/package.json
  3. 2
      frontend/package.json

@ -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`.

@ -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",

@ -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",

Loading…
Cancel
Save