Skip to content

iokloud/iok-express

Repository files navigation

Deprecated

iok-express banner

iok-express

About

iok-express is IoT platform based on node.js, expressjs, ponte, passportjs and mongodb with MQTT, HTTP and CoAP bridge.

IOK Express will enable you to put your IoT API services on your own server simply and painless in one command. It supports the popular MQTT protocol in sync with HTTP. It is in javascript so you can create your own features in expressjs middleware or add your favor database. when the new thing add to database, it add to the credential list of mqtt broker too.

IOK-Express is based on Ponte and is under development so it should work. It need time to release stable version.

Features

  • Simple and Scalable.
  • HTTP, MQTT and CoAP connections together as a bridge.
  • MQTT 3.1 and 3.1.1 compliant.
  • Sercured with authentication and JWT.
  • Usable inside ANY other Node.js app.

Steps to run

Firstly besure Mongodb is running on localhost:27017 for Mongodb installation refer to MongoDB Doc Then, in a new terminal window, start the MongoDB daemon to start mongodb server.

Download and install iok-express git;

git clone https://github.com/iokloud/iok-express/

cd iok-express

npm install

For runing api service;

npm start

Tutorial

You can find a step by step tutorial in wiki page .

IOK-Express API

The Thing API defines a set of services to create, update or control any things.

POST /signup
POST /signin
POST /thing
GET /thing
GET /thing/:clientid
PUT /thing/:clientid
DELETE /thing/:clientid

Example: for invoking list of created things as locally;

GET http://localhost:3000/api/thing/

Learn more

You can find a test version of iok-express at test.iokloud.com as soon as possible.

If you find iok-express useful, consider supporting the project by buying a support package from me by writing an email to iokloud.com@gmail.com.

Check out our showcase wiki page! Feel free to add yourself! :)

Security Issues

IOK-Express sits between your system and the devices: this is a tough role, and we did our best to secure your systems. However, you might find a security issue: in that case, email @iokloud at iokloud.com@gmail.com

Feedback

Use the issue tracker for bugs. Tweet us for any idea that can improve the project.

Links

Authors

Hadi Mahdavi

Releases

No releases published

Packages

No packages published

Languages