- https://stackoverflow.com/questions/40347411/how-to-display-json-data-with-reactjs-in-the-table
- https://hackernoon.com/how-to-combine-a-nodejs-back-end-with-a-reactjs-front-end-app-ea9b24715032
create-react-app qis-ui && qis-ui
npm install --save [email protected] reactstrap@next
npm install --save moment react-moment moment-timezone
git clone https://github.com/dannychua/qis-ui && cd qis-ui
Edit config/server.js
with correct password
npm install
npm run build
screen
serve -s build -p 3000
screen
node source/server/index.js
For updating:
git pull
npm run build
serve -s build -p 3000
Then restart the programs running inside screen
.