Skip to content

chatdoc-com/ChatDOC-API-Demo

Repository files navigation

ChatDOC_API_Demo

Environment

  • Node.js >= 18.x
  • pnpm >= 9.x

Installation

run pnpm install

Custom server environment

  • Set the env variable API_KEY

    API_KEY is the API key that you obtained after purchasing the API package or membership plan.

    To set the API_KEY, you can use the command line.

    For Linux and macOS

    export API_KEY=xxx

    For Windows

    set API_KEY=xxx

    Alternatively, you can use a .env file to set the API_KEY variable. Here's how:

    1. run cp ./.env.template ./.env

    2. Fill in API_KEY in the .env file.

Getting started

run pnpm start

The started

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8