Currently in the project development process, the service side voice some use Python, some use Java, some use node ...
But the back end of the multiple languages in a large scope, belong to a project, together to complete a large product, so need a common front-end ...
Need to solve the problem:
1, a front-end into multiple modules, different modules can use different back-end
2, multiple backend on the front-end implementation through multiple domain names or ports: So different backend can be deployed separately
3, multiple back-end use common authentication mechanism, can adopt unified check module
Solution:
For question 1, you can use the base tag of the HTML
Reference:
1, http://www.w3school.com.cn/tags/tag_base.asp
How to implement multiple domain names for a site: for a common front end + multiple multilingual implementations of the backend