Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 740 Bytes

README.md

File metadata and controls

50 lines (39 loc) · 740 Bytes

FogComputing

An application built for the fog computing use case using NodeJs and ZeroMQ.

The documentation can be found here.

Getting Started

Prerequisites

NodeJs >= v12
Docker

Start

Install Packages

npm i

Server

npm run server

Client

npm run client
docker run -p 4225:4225 -it langleu/tfstubserver

Environment Variables

Please look at config.js for a better overview and understanding.

  • PORT
  • BACKEND_IP
  • NODE_ENV
  • FRONTEND_PORT
  • VERBOSE
  • BASE_URL
  • FRONTEND
  • IDENTITY

Example with Frontend running on port 3030. BASE_URL=http://localhost:3030 FRONTEND_PORT=3030 npm run server