Relative Content

Tag Archive for reactjsdjangoproxyfrontendchromebook

How to properly set up React proxying on a Chromebook?

I am running a Django backend app on port 8000 and would like to configure a React app proxy calling that particular Django backend app. I have added
"proxy": "http://localhost:8000", to package.json and used shorthand url notations (such as /api/products) in the axios calls.