I'm a software developer, and the kind of developer we call "front end developer". I'm working on stuff like Angular JS, Angular 2 and others.
I wanted to know how we can organize our front end code so that we can fit a modular based microservices like architecture.
Basically I am thinking of Platform as a Service like front end app where module can be load independently based on admin configuration and role wise. In a platform as service like apps we select components that application need and they load independently without affecting whole application.
How can we organize code, so that our front end code can matches these requirements?
I don't want to build monolithic applications in a microservice and big scale context. I was thinking of a way to split my front end components. But the problems come when we try to expose those components in a webpage that would aggregate them to build a real application...
I'm a bit lost in this situation and I need some help understanding the flow on a front end side.
If you can, please link any articles, or practices that could help me.