Here's an actual real-world example of a recommended approach when combining Django & React.
Django REST framework is used to serve the API for the React app, which is bundled into static files, served by Nginx. See the docker files & nginx.conf for the actual configuration.
39
u/AsSimple May 25 '20
Github: https://github.com/rrebase/knboard
Here's an actual real-world example of a recommended approach when combining Django & React.
Django REST framework is used to serve the API for the React app, which is bundled into static files, served by Nginx. See the docker files & nginx.conf for the actual configuration.