How to split an Angular app into micro-frontend apps

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • angular-microfrontend

    This repo is better explained by this post:

  • You can find the source code that we are going to use in this repo

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • ng-packagr

    Compile and package Angular libraries in Angular Package Format (APF)

  • Additionally, to create a new library for each piece you want to share, you could use the Secondary entrypoints feature of ng-packagr to group common things together, like components or services, and group them together by a more specific feature. But consider this will requires additional updates to the configuration.

  • single-spa

    The router for easy microfrontends

  • Since micro-frontend allows us to develop applications individually, this also means you can use different frameworks and libraries together to develop each section of this application. Of course, this will have some advantages and disadvantages. If you are using different technologies to serve different parts of the application, it won't be so easy to move developers within teams. However, the door is open, and if you want to do something like that, you could use something like Single SPA, or some other, to help you organize and connect the different technologies into a larger application.

  • nx

    Smart Monorepos · Fast CI

  • You can also use just one frontend tool, like React, Vue, or in this case, Angular. Each of them has some way to achieve what we need. If you prefer doing in this way, one tool you could use is Nx. It has some really cool features such as depency graph, linked package, and others. It also has first-class support for Module Federation and Micro-frontend development.

  • lerna

    :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.

  • We could improve part of this by using something like Lerna. With the right configuration, Lerna can be really helpful.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • ⏰ It’s time to talk about Import Map, Micro Frontend, and Nx Monorepo

    9 projects | dev.to | 11 Mar 2024
  • React monorepo with open-source apps and proprietary libs

    2 projects | /r/react | 19 Jul 2023
  • Best way to share code between React App, React Native App, and NodeJs server?

    6 projects | /r/reactjs | 27 Jul 2022
  • The Power of Progressive Web Apps (PWAs): Revolutionizing Web Development and User Experience

    1 project | dev.to | 14 Jun 2024
  • Angular Addicts #26: Angular 18, best practices, recent conference recordings & more

    1 project | dev.to | 11 Jun 2024