Sunday, 11 June 2017

Front end = ..nginux.. = Back end?

My question might seem dumb, but im highly uneducated on this topic, but i really want to learn how this is all working.

For the sake of example let me provide you with a scenario.

I have front end built with react, the website has all the required http requests and sends everything that is required to my server. The server is running on nodeJs(express).

The website and a server are working just fine, both of them are on different ports. Front end is on localhost:3000, and back-end is on localhost:8000.

Recently i started spending a considerable amount of time, trying to understand how real applications work and what needed to deploy them. At this moment i came across a few articles that suggest to use a proxy server that can be like a "bridge"(maybe for secuirty reasons (my guess)).

So could somebody give me insights to understand this concept?

Im sorry if the question might seem a bit dumb to you, but its hard to find good information on the inet about it.

If i understand this concept completely wrong and there is nothing in this sort, just comment below and i will delete this thread.



via Stan

No comments:

Post a Comment