As far as I know. The idea is to publish the React frontend with some web server like NGINX or APACHE2.
Then for the DRF api project, the idea is to have it as an active service so that the react frontend can make requests to the backend (like http://localhost:8000/getProductById/).
Is it so?
If so, what is the best way to put the backend as an Ubuntu service, I have searched for guides, but most are for using normal Django, Django with templates. Can someone help me or give me some information.
At the moment I have already published the frontend on a server that I have created with NGINX and it is already accessible. Sorry if the question is very newbie 🙂
Thank you so much.