Django, ReactJS, Webpack hot reload

Here is another approach if you develop frontend in react and backend in django.
I have django server running on port 8000 and react server running on port 3000.

If I add "proxy": "http://localhost:8000" line in package.json of react code, localhost:3000 will do hot-reloading while api call goes to localhost:8000.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)