8000 GitHub - rootstrap/chat-gpt-nodejs: NodeJS REST-API to interact with OpenAI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rootstrap/chat-gpt-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT NodeJS .TS Api

This project includes the boilerplate to interact with ChatGPT from a basic rest-api made in Node.js with Express + Typescript.

Basic Requirements

  1. Install Node.js https://nodejs.org/en/download/
  2. Install TypeScript
npm install -g typescript
  1. Install required dependencies
npm install
  1. Get an OpenAI API key: https://beta.openai.com/signup/
  2. Update your .env file with your API_KEY

Build and Run

To build js from typescript source.

npm run build

To start the server from the compiled folder (/dist).

npm run start

Demo

Demo

About

NodeJS REST-API to interact with OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0