initial commit: working mqtt example

This commit is contained in:
2018-01-04 20:26:48 -07:00
commit b3c3f2bcce
13 changed files with 6150 additions and 0 deletions

22
README.md Normal file
View File

@@ -0,0 +1,22 @@
# mosca-playground
Mosca MQTT Playground.
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/w33ble/mosca-playground/master/LICENSE)
[![Build Status](https://travis-ci.org/w33ble/mosca-playground.svg?branch=master)](https://travis-ci.org/w33ble/mosca-playground)
[![Coverage](https://img.shields.io/codecov/c/github/w33ble/mosca-playground.svg)](https://codecov.io/gh/w33ble/mosca-playground)
[![Project Status](https://img.shields.io/badge/status-experimental-orange.svg)](https://nodejs.org/api/documentation.html#documentation_stability_index)
## Usage
`npm install && node .`
This will create an mqtt server, publish a message, and log some output about the process.
Modify information about the message in `src/index.mjs`.
To see what's in the persisted store, run `node dump.js`.
#### License
MIT © [w33ble](https://github.com/w33ble)