实时数据
RThack 的数据源
这是一组为 RTHack 发布数据的脚本。
设置
创建一个带有凭据的.env文件(参见.env.example模板)
npm install
发布数据
# example script - publishes the current time
# as `time` events on `example` channel
node time.js
# todo - more scripts
查看数据
# start a web server on http://localhost:3000
node frontend.js
评论0
最新资源