Skip to content

VizIoT/viziot-server-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

viziot-server-2

ViZIot server version 2

A new server to serve for tcpdata monitor by IoT router

Server Address: https://viziot-server-2.herokuapp.com

Set Up Guide

Copy .env.example to .env, and put the MongoDB connection string to here.

MONGO_URI=<MONGO_URI>

Run command yarn install to install dependencies.

To run the server:

./node_modules/.bin/forever -m 5 ./index.js

Structures

  • The tcpData directory contains most of the network data.
  • The file tcpData.da.js defines all the mongo queries to query data.
  • The server use socket.io to communicate with the client side. The file socketio.js defines all the messageEmitters.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published