When you want to access the server from your react app it is called a Cross Origin request, by default a domain it is not allowed to access API hosted on another domain.

Your ReactJs app is on a port ( 3000 ) and your server on another and this cause this problem.

You have to enable CORS on your server.

You can try with :

pip install django-cors-headers 

More on this you can find here

Related Query

More Query from same tag