Skip to content

adv555/gptchat-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Chat

Build AI Chat in ReactJS by using OpenAI api (GPT-3.5, DALL-E)

Open AI ChatGPT clone

you can checkout the app here

Tech used

Installation

client

cd client && npm i

server

cd server && npm i

Configuration

Server

  1. obtain your openai api key from here
  2. cd server
  3. copy .env.example to .env
  4. add your openai api key inside .env
  5. make sure you have added .env to your .gitignore file

Client

  1. cd client
  2. copy .env.example to .env
  3. add your Auth0 credentials inside .env
  4. make sure you have added .env to your .gitignore file

to run client

cd client
npm start

to run server

cd server
npm start