# node-mosca **Repository Path**: jianfengxu/node-mosca ## Basic Information - **Project Name**: node-mosca - **Description**: mqtt server node版本,里面包含简单的authenticate鉴权 - **Primary Language**: NodeJS - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2019-12-26 - **Last Updated**: 2021-03-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # node-mosca #### 介绍 mqtt server node 版本,里面包含简单的 authenticate 鉴权 #### 软件架构 软件架构说明 #### 安装教程 ``` yarn install ``` 或者 ``` npm install ``` redisClient.js 修改对应的配置信息 #### 使用说明 1.启动 server ``` node index.js ``` 2.启动发布客户端(npm install mqtt) ``` node .\client\pub.js ``` 3.启动订阅客户端 ``` node .\client\sub.js node .\client\sub1.js ```