JSON-server:用于 api 调用的 Node.js 服务器

时间:2021-05-30 09:28:07
【文件属性】:
文件名称:JSON-server:用于 api 调用的 Node.js 服务器
文件大小:46KB
文件格式:ZIP
更新时间:2021-05-30 09:28:07
JavaScript UAS JSON 服务器 用于 UAS 竞赛的 JSON 服务器。 调用 SUAS 服务器 API 需要运行 Node.js 框架以及列出的 Node.js 依赖项。 ###依赖 以下是运行此服务器所需的 Node.js 包。 要安装这些包,您必须安装节点包管理器。 ####安装节点包管理器(npm) #####Linux sudo apt-get install npm #####苹果电脑 brew install npm ####安装依赖 使用 npm 安装依赖项: npm install ####准备子模块 要安装 mavlink 子模块,请运行 git submodule init 然后通过运行实际下载子模块 git submodule update ###运行服务器 要运行服务器,请确保已遵循上述步骤,并键入以下内容。 node ./ 注意:如果您使用的是
【文件预览】:
JSON-server-master
----.gitignore(65B)
----package.json(483B)
----LICENSE.md(1KB)
----index.js(981B)
----.gitmodules(80B)
----README.md(2KB)
----tests()
--------index.js(435B)
--------README.md(2KB)
--------prototypes()
--------tests()
--------modules()
--------tests.js(6KB)
----index.html(1KB)
----lib()
--------public_responses.js(955B)
--------responses.js(653B)
--------mimes.js(2KB)
--------sockets.js(852B)
--------routers.js(1KB)
--------uas()
--------api.js(13KB)
--------globals.js(2KB)
--------prototypes()
--------utilities.js(321B)
--------handlers.js(5KB)
--------database.js(6KB)
----favicon.ico(162KB)
----mavlink()

网友评论