Ok, now that I’ve successfully deployed both my frontend and backend, and they’re both working. So, how do I connect them? I’ve updated every route in my frontend code like this:
'process.env.REACT_APP_API/api/v1/' in each 'await axios.get'
and in my .env file for the frontend, I’ve included the URL of my backend.
But, as expected, it didn’t work. So, what exactly do I need to do?
It is a MERN stack website