/chatgptdemo

Chat GPT Demo using reactjs and nodejs as backend

Primary LanguageJavaScript

Chat GPT Demo using reactjs and nodejs as backend

ChatGPT Demo

How to run

  1. Clone the repo
  2. cd into the repo cd chatgptdemo
  3. You will see 2 folder
    1. chat-gpt-backend

      1. cd chat-gpt-backend
      2. In Chat GPT backend folder create a file called .env
      3. Add those variables which are in .env.example file
      4. You will need to get the API key from OpenAI
      5. npm install
      6. npm start
    2. chat-gpt-frontend

      1. cd into chat-gpt-frontend
      2. npm install
      3. npm start