❔ How should I correctly interact .NET Core App with client-side app?
Hello guys. I'm trying to resolve some issue and would like you to explain me how some things work. I created Vue2 app. I also created .NET Core app which serves as my backend. Now I want both apps to interact with each other. I know that they need to communicate through API. However, I have more technical questions regarding how technically this should be done (I developed Vue app but I think the pattern works for Angular, React and other frameworks):
- Does my backend need any API proxy/API gateway to make calls through
axiosfrom Vue? So the question is ifaxiosshould communicate to API gateway or directly to services endpoints (every single API service)? - Should I need to use other tools e.g.
NSwagto auto-generate code which interact with backend API? IsNSwagcode a kind of API Gateway in this case?