Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 607 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 607 Bytes

Websocket-Skeleton

required: nodejs and npm

to start:

1. npm install

2. npm start

3. open Browser go to localhost:8080

INSTALL: npm install

DEV SERVER: npm run dev

START: npm start

BUILD SERVER: npm run build:server

DEV FRONTEND: npm run watch

BUILD FRONTEND: npm run build

reachable: localhost:8080

used packages:

  • socket.io
  • webpack
  • babel

eslint:

  • airbnb
  • prettier

Docker commands:

  • BUILD: docker build -t node-websocket-test:latest .
  • RUN: docker run -it -p 9002:8080 node-websocket-test:latest