AllanSchergerGitHub / ChatDOC-API-Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatDOC_API_Demo

Environment

  • Node.js >= 16.x
  • pnpm >= 8.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


Languages

Language:Vue 62.5%Language:JavaScript 34.3%Language:SCSS 2.8%Language:HTML 0.3%Language:Shell 0.1%