Goal
At the beginning we decided to start working with service-template-node that is a scaffold for WMF NodeJS services based on service-runner. After starting the development we have found that the initial technical architecture we are working on is not the best regarding both the development and deployment.
At the same time we work on development, we are going to make an effort to find a better architecture (in terms of simplicity) because we think that we can speed up the development and even the deployment.
At this moment we are working using an architecture with two different services frontend and backend that is more complicated to develop, communicate and even deploy to k8s. And we also think that it's something that this tool doesn't need to have. Our proposal for this task is to migrate this architecture to a SSR express application where frontend and backend work as the same service which is easier to develop, containerize and deploy later to k8s.
AC
- We have decided what's the more convenient architecture for MPIC
- We have explored which libraries we need to work on the decided architecture and our service-template-node based on service-runner
- The decided architecture can be containerized according to what we discuss at T361060: Setup k8s configuration and GitLab CI for MPIC
- We have a POC that we can run properly