Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

CoAP resource browser using NodeJS and node-coap

Notifications You must be signed in to change notification settings

federicoops/node-coap-browser

Repository files navigation

Node Coap Browser

Node Coap Browser is a web application that lets you discover resources over a CoAP-enabled host.
In addition you can issue GET,POST,PUT,DELETE on the discovered resources and get relative response.

It is based on the coap-api package (source available here on Github)

Local installation

Firstly, clone the repository

git clone https://github.com/federicorossifr/node-coap-browser.git

Then, if you have Node installed, you can install the dependenecies by issuing:

npm install

Finally start the service by running:

npm start

Docker image

If you do not have Node, or for any reason you prefer a Docker deployment, you can build the Docker image directly from project root:

docker build . -t <image_name>

Then you can start the service:

docker run -d -p 8080:8080 <image_name>

Anyway, there's always an updated version of the Docker image available at: federicorossir/coap-browser. To run it:

docker pull federicorossir/coap-browser
docker run -d -p 8080:8080 federicorossir/coap-browser

Hands-on examples

For an in-depth example of interoperability between this software and others CoAP stacks (including IPv6 versions) look at https://github.com/federicorossifr/coap-publish-subscribe

Releases

No releases published

Packages

No packages published