Skip to content

halochg/reactChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

reactChat

react Chat with GPT

  1. start front react

    cd react-frontend

    yarn start

    then go to http://localhost:3000/ via brwoser

  2. start node server

    cd server

    node index.js

  3. start python server

    update openai.api_key in main.py with your new key, the key will be disabled after checked in to Github

    openai.api_key=""

    cd server;

    py main.py

this is a screenshot on browser image

dockernize react frontend

cd react-frontend

docker build -t react-frontend:latest .

it will create frontend docker img

dockernize nodejs and python backend

cd server

docker build -t node-backend:latest .

it will create backend node server docker img

docker build -f Dockerfile.py -t py-backend:latest .

it will create backend python server img

About

react Chat with GPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published