Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

RC-Dynamics/presence-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

presence-server

The serve for Presence using KNoT.

Installation

In order to install the dependencies you only need to run:

npm install

It also need to have installed NodeJS and MongoDB. It's working with NodeJS v8.0.0 and MongoDB v3.12.13.

Usage

  1. config.js file into /api/config folder. This file needs to exports a JSON as it shows below.
module.exports = {
	db: '', // URL to the database
	cesar_server: '', // URL to CESAR server
	user_uuid: '', // User UUID
	user_token: '', // User Token
	thing_uuid: '' // Thing UUID
}
  1. KNoT-Gateway running and connected to the KNoT-Cloud;
  2. At least one KNoT-Thing running and connected to KNoT-Gateway;
  3. MongoDB running (run mongod on terminal);
  4. To start the server run node app.js or npm start;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published