thanks. I'm really trying to understand why/how we choose to deploy the front and back end different places, but your analogy is helpful!
Think of it like this. What if your API is getting consumed by 5 different applications? And those applications reside at the same server as your API? As my previous example, the load will x6 now, and your server might have difficulty handling such load. 😬 So it's a good idea to separate the API so it doesn't share resources with other applications. 😊
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.