As I worked on my first full stack web app project using express and react, I was quickly prompted with an issue.
How do I get React to “talk” or “connect” to the Express server?😓
This article will explain how I got React to talk to my Express server by an example.
First let me explain what we will be using:
Dependencies (not installed from create-react-app)
This project will assume you have used the create-react-app by:
npx create-react-app client
npm i react-router-dom
We will be cleaning up a…