A
A
Antyk2017-08-02 03:14:29
Django
Antyk, 2017-08-02 03:14:29

What is a Django and React production site?

Hello, I just recently started learning JS and I'm interested in the end result of developing a website using Django Rest API + React/Redux. Since we have 2 servers, for example, PythonAnywhere is used for backend hosting, and another hosting for the client side? Or is it possible to eventually make a whole site, where url for users, url with API and also a jang admin panel will be available under one domain?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2017-08-02
@Antyk

react application is just html + js, it can be given to regular nginx like any other static, which at the same time does not matter on the backend ths
separate server for the backend, a separate one for the frontend of course also happens, but this is a very different story

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question