<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg" -->

---
title: Serving Frontends in Microservices Architecture | daily.dev
description: The microservices architecture has emerged as a dominant paradigm in the software development landscape. The frontend - which serves as the user's gateway to...
canonical: https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Serving Frontends in Microservices Architecture | daily.dev
og:description: The microservices architecture has emerged as a dominant paradigm in the software development landscape. The frontend - which serves as the user's gateway to...
og:url: https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg
og:image: https://api.daily.dev/og/posts/fSeaDl2eg.png
og:image:alt: Serving Frontends in Microservices Architecture
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Serving Frontends in Microservices Architecture

**[Amplication](https://daily.dev/sources/amplication)** · [@mulyg](https://daily.dev/mulyg) · 4 min read · 86 upvotes · 1 comments

## Summary

The microservices architecture has emerged as a dominant paradigm in the software development landscape. The frontend - which serves as the user's gateway to the application - is equally crucial. This article aims to explore the challenges and solutions associated with serving frontends in a microservices environment.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://amplication.com/blog/serving-frontends-in-microservices-architecture>

## Community discussion

Top comments from developers on daily.dev.

**@ghost** · 3 upvotes

> I think the author has confused hosting a front-end in the cloud, best practices in secure web development, and devops processes with the term "microservice".
>
> A microservices architecture creates a separation of concern between different areas of functionality in an application. At least, that's been my impression. For example, an e-commerce site that sells widgets might have microservices covering cart management, customer accounts, product catalogs and availability, etc.
>
> And while a front-end would bring that all together in a working end-user application, it doesn't necessarily connect...

---

Tags: [#security](https://daily.dev/tags/security), [#aws](https://daily.dev/tags/aws), [#backend](https://daily.dev/tags/backend), [#cicd](https://daily.dev/tags/cicd), [#microservices](https://daily.dev/tags/microservices), [#frontend](https://daily.dev/tags/frontend), [#aws-s3](https://daily.dev/tags/aws-s3)

[View this post on daily.dev](https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Serving Frontends in Microservices Architecture","url":"https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg"},"datePublished":"2023-08-30T07:43:23.776Z","dateModified":"2023-08-31T04:00:06.596Z","description":"The microservices architecture has emerged as a dominant paradigm in the software development landscape. The frontend - which serves as the user's gateway to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f35cec791cfca3db2fa54c671476ed3c?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f35cec791cfca3db2fa54c671476ed3c?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Amplication","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Muly Gottlieb","url":"https://daily.dev/mulyg","image":"https://media.daily.dev/image/upload/v1680092081/avatars/avatar_ydlQTsXl8sRTVSSlf8DHZ.jpg","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1600}},"commentCount":1,"discussionUrl":"https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":86},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"security,aws,backend,cicd,microservices,frontend,aws-s3","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Amplication","item":"https://daily.dev/sources/amplication"},{"@type":"ListItem","position":3,"name":"Serving Frontends in Microservices Architecture"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/serving-frontends-in-microservices-architecture-fseadl2eg","comment":[{"@type":"Comment","text":"I think the author has confused hosting a front-end in the cloud, best practices in secure web development, and devops processes with the term “microservice”.\nA microservices architecture creates a separation of concern between different areas of functionality in an application. At least, that’s been my impression. For example, an e-commerce site that sells widgets might have microservices covering cart management, customer accounts, product catalogs and availability, etc.\nAnd while a front-end would bring that all together in a working end-user application, it doesn’t necessarily connect to each microservice individually to do so. In fact, many would argue that can end up creating a huge attack surface for bad actors to screw around with your data. This is why reverse proxies or the BFF patterns are recommended for microservice architectures.\nI guess I’m just annoyed here that the title of the post hints about a discussion about architectural practices and the benefits of microservices. Instead, it’s a discussion on best-practices in serving front-end applications in cloud environments. Things like asset storage, CDNs, and secure coding practices, while important, aren’t solved by moving to microservices.","datePublished":"2023-08-30T14:54:46.257Z","url":"https://daily.dev/posts/fSeaDl2eg#c-ltTjfRVZE","author":{"@type":"Person","name":"Deleted user","url":"https://daily.dev/ghost","image":"https://media.daily.dev/image/upload/s--hNIUzLiO--/f_auto/v1705327420/public/ghost_vlftth"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}}]}
```

