robsterpsz / al-test

Work in progress, made for evaluation purposes.

Home Page:https://robsterlabs-al-test.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AL TASK

What is this?

A test project to demonstrate a React client served by Node.js with Redis back-up and Socket.io

Requirements

NodeJS HTTP Server (without any framework) 6.11.0 Redis 4.0.1 react socket.io 2.0.3 Babel (ES6) 6.24.1

Usage

Install:
git clone https://github.com/robsterpsz/al-test.git
cd altest
npm install
Run:
###############################################################
npm run start
###############################################################

Development CLI History

mkdir altest
cd altest
npm init
npm install --save-dev redis
npm install --save socket-io
npm install --save-dev babel-cli
npm install --save-dev babel-preset-es2015 babel-preset-stage-2
npm install --save-dev nodemon

modify package.json:

  "scripts": {
    "start": "nodemon index.js --exec babel-node --presets es2015,stage-2",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/robsterpsz/al-test.git"
  },  
git init
curl -u 'robsterpsz' https://api.github.com/user/repos -d '{"name":"al-test"}'
git remote add origin git@github.com:robsterpsz/al-test.git
git remote -v
touch .gitignore

modify .gitignore:

# Dependency directories
node_modules
git status
git add .
git commit -m "initial commit"
git push origin master

About

Work in progress, made for evaluation purposes.

https://robsterlabs-al-test.herokuapp.com/


Languages

Language:JavaScript 100.0%