Setting up micro frontend projects
Micro frontend projects are just independent web servers that can be reached from the aggregation layer. There are various frameworks and tools that try to make micro frontend development for server-side composition as simple and straightforward as possible.
There are three potential ways to simplify micro frontend development:
- Using a serverless approach where the whole runtime is already given
- Providing a scaffolding tool to create project boilerplates
- Having a sample that can be cloned and adjusted
In general, these three options are not exclusive. It is possible to use a serverless approach, which comes with a project scaffolding option and has some examples available to illustrate how development works.
Serverless approach
In recent years the Function-as-a-Service (FaaS) approach has boosted service development. Offerings such as AWS Lambda or Azure Functions allow us to write a full service by just providing a...