/node-tidbcloud-sdk

Unofficial preview of TiDB Cloud Node.js management SDK

Primary LanguageTypeScriptApache License 2.0Apache-2.0

node-tidbcloud-sdk-v1-beta

Unofficial Node.js management plane SDK for TiDB Cloud OpenAPI v1beta

The majority of the codes are auto-genenrated by openapi-generator

 openapi-generator-cli generate -i tidbcloud-oas.json -g typescript-node -o node-tidbcloud-sdk/  --additional-properties=npmName=tidbcloud-sdk

Get started

  1. Create your project and cluster on TiDB Cloud for free.
  2. Create your API Key by following the steps here.
  3. Check client.ts file. Store your API Key into env var, restore npm packages and run client.ts.