http-gateway

时间:2021-05-10 18:06:50
【文件属性】:
文件名称:http-gateway
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-10 18:06:50
JavaScript HTTP REST <-> Muon网关 安装 签出git repo。,在创建的目录中,使用Node运行app.js。 这将通过本地主机上的端口9001公开网关API。 git clone https://github.com/cistechfutures/mgateway.git cd mgateway npm install node gateway.js 有关应用程序运行时的完整调试信息: git clone https://github.com/cistechfutures/mgateway.git cd mgateway npm install export LEVEL=debug DEBUG= * node gateway.js 测验 它们使用一个空的Photon Eventstore作为端点,并创建一系列用户和投影来测试网关是否正常工作。 要运行测试,只需在终端中切换到
【文件预览】:
http-gateway-master
----.gitignore(526B)
----Dockerfile(54B)
----package.json(902B)
----gateway.js(5KB)
----README.md(4KB)
----muon.config(317B)
----lib()
--------util.js(629B)
--------logging()
----build.sh(70B)
----test()
--------test.js(9KB)

网友评论