Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

senz-web

API npm GitHub Docker

The Admin Panel to interact with the senz server.

Setup and Installation

Running using docker

  • Change the dbURI in the 'main.js' to point to docker.
  • Attach to containers using
docker-compose build
  • Run containers using
docker-compose up
  • Remove containers using
docker-compose down

Using the Admin Panel

  • Generate your signature by logging in the admin panel.
  • Create a project.
  • Create devices and set the public keys.
  • Set the device name corresponding to the public key using the query.
SHARE #pubkey <device-public-key> @senz #time <timestamp> ^<device-name> <signature>
  • Send and receive data using the query.
DATA <data-string> @dev2 #time <timestamp> ^<device-name> <signature>
  • Logout the device from the server.
UNSHARE #pubkey <device-public-key> @senz #time <timestamp> ^<device-name> <signature>