Exploring Micro Frontends: A Case Study Application in E-Commerce

  • Ricardo Hideki Hangai Kojo
  • , Luiz Fernando Corte Real
  • , Renato Cordeiro Ferreira
  • , Thatiane de Oliveira Rosa
  • , Alfredo Goldman

Research output: Chapter in Book/Report/Conference proceedingChapterScientificpeer-review

Abstract

In the micro frontends architectural style, the frontend is divided into smaller components, which can range from a simple button to an entire page. The goal is to improve scalability, resilience, and team independence, albeit at the cost of increased complexity and infrastructure demands. This paper seeks to provide insights into when the adoption of micro frontends may be worthwhile, particularly in an industry context, considering that research in this area is still evolving. To achieve this, we conducted an investigation into the state of the art of micro frontends, based on both academic and gray literature. We then implemented this architectural style in a marketplace for handcrafted products, which already used microservices. Finally, we evaluated the implementation through a semi-open questionnaire with the developers. At the studied marketplace company, the need for architectural change arose due to the tight coupling between their main system (a Java monolith) and a dedicated frontend system. Additionally, there were deprecated technologies and poor developer experience. To address these issues, the micro frontends architecture was adopted, along with the API Gateway and Backend for Frontend patterns, and technologies such as Svelte and Fastify. Although the adoption of Micro Frontends was successful, it was not strictly necessary to meet the company’s needs. According to the analysis of the mixed questionnaire responses, other alternatives, such as a monolithic frontend, could have achieved comparable results. What made adopting micro frontends the most convenient choice in the company’s context was the monolith strangulation and microservices adoption, which facilitated implementation through infrastructure reuse and knowledge sharing between teams.
Original languageEnglish
Title of host publicationSoftware Architecture
Subtitle of host publicationECSA 2025 Tracks and Workshops
Pages187-201
Volume15982
ISBN (Electronic)978-3-032-04403-7
DOIs
Publication statusPublished - 5 Sept 2025

Publication series

Name Lecture Notes in Computer Science
PublisherSpringer Nature
Volume15982
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Keywords

  • Micro Frontends
  • Software Architecture
  • Case Study
  • Experimental Software Engineering

Fingerprint

Dive into the research topics of 'Exploring Micro Frontends: A Case Study Application in E-Commerce'. Together they form a unique fingerprint.

Cite this