Skip to content

ParaffinIoT/broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

194 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paraffin Broker service

Open Source Love Build Status Greenkeeper badge

Paraffin HTTP/MQTT/CoAP Broker is based on NodeJS and service REST API for IoT or Internet of Things.

Installation

  • Make sure you have at least Node 4.3
  • Install mongo locally using how to install mongodb and Mongo docs
  • Run mongo to connect to your database, just to make sure it's working.
  • Clone this repo. git clone https://github.com/ParaffinIoT/broker
  • Change directory. cd broker
  • npm install
  • If you running in Development mode, for loading environment variable, it's necessary to change env.sample file name to .env and customize it.
  • Run the server with: npm start
  • After runing Broker, you can connect to REST API. in HTTP the address is http://localhost:3000/resources/TENANT/YOUR_TOPIC and for MQTT topic is TENANT/YOUR_TOPIC.
curl -X PUT \
-d "Hello World" \
http://localhost:3000/resources/hello

The authentication performs with Mongodb server directly. You can change and customize Mongodb server settings with environemt variables.

Contributing contributions welcome

Anyone with interest in or experience with the following technologies are encouraged to join the project. And if you fancy it, join the Telegram group here for Devs and say Hello!

About

🌦 IoT Broker with Authentication ability built in NodeJS for Paraffin IoT Platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors