/chatgpt-clone

Primary LanguageJavaScriptApache License 2.0Apache-2.0

ChatGPT clone with DALL.E image generation model

you can checkout the app here

a demo of the App

android icon

Give it a ⭐ if you liked it 😜

install

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 fiirebase config and server url
  4. make sure you have added .env to your .gitignore file

run

to run client and server concurrently

cd client
npm run dev

to run client only

cd client
npm start

to run server only

cd server
npm start

Tech used

  • openai API
  • react
  • tailwindcss
  • react-icons
  • react-markdown
  • redis
  • express

credits

📝 License © Eyuel

This project is released under the Apache License 2.0 license. See LICENSE for details.