cosmosdb-server:Cosmos DB服务器实现,用于在本地测试您的应用程序

时间:2021-05-05 13:29:49
【文件属性】:
文件名称:cosmosdb-server:Cosmos DB服务器实现,用于在本地测试您的应用程序
文件大小:109KB
文件格式:ZIP
更新时间:2021-05-05 13:29:49
TypeScript cosmosdb服务器 Cosmos DB服务器实现,用于在本地测试您的应用程序。 const { default : cosmosServer } = require ( "@zeit/cosmosdb-server" ) ; const { CosmosClient } = require ( "@azure/cosmos" ) ; const https = require ( "https" ) ; cosmosServer ( ) . listen ( 3000 , ( ) => { console . log ( `Cosmos DB server running at https://localhost:3000` ) ; runClient ( ) . catch ( console . error ) ; } ) ; async function runClie
【文件预览】:
cosmosdb-server-master
----.gitignore(45B)
----tsconfig.json(255B)
----README.md(2KB)
----.gitmodules(119B)
----.github()
--------workflows()
----test()
--------with-cosmosdb.ts(709B)
--------tsconfig.sdk.patch.json(692B)
--------azure-sdk-for-js()
--------index.ts(11KB)
--------sdk.sh(966B)
----cert.pem(1KB)
----package.json(2KB)
----src()
--------path-match.ts(485B)
--------types.ts(1KB)
--------utils()
--------router.ts(1KB)
--------true-header.ts(344B)
--------index.ts(3KB)
--------handler()
--------@types()
--------account()
--------cli.ts(1KB)
--------routes.ts(3KB)
--------json.ts(199B)
----LICENSE.md(1KB)
----key.pem(2KB)
----.editorconfig(41B)
----yarn.lock(176KB)

网友评论