2 years ago

API + pure js frontend

Posted 2 years ago by tiagomatosweb

Hi all, I have a scenario that most projects nowadays have which is an api jwt based + pure js frontend.

So, I'm wondering if you guys use any proxy server between those two to hide the back endpoints. For instance,

mydomain.com -> frontend myproxy.mydomain.com -> proxy api.mydomain.com -> api

In this case, a call would be make via the proxy and then then the proxy server would make the actual request to the API and vice-versa.

Does anyone use this approach or you guys call the api straightaway without hiding the backend endpoints?


Please sign in or create an account to participate in this conversation.