How can I connect ejs file in ReactJs [on hold]

I have my react app running on localhost:3000 and the nodejs backend running on localhost:5000. I am making requests through axios. How can I link a button in my react app to EJS file in localhost:5000 (localhost:5000/chat)?

Read more here:: How can I connect ejs file in ReactJs [on hold]

Leave a Reply

Your email address will not be published. Required fields are marked *