[Session] React micro-frontend setup for Bahmni

We have introduced a new technical capability in Bahmni which allows teams to build independent React modules in different repositories and load their components directly into the Bahmni web interface. This initiative will help Bahmni continue the move away from Angular.JS and adopt React/Carbon/Micro-frontends.

In this call, Anish George will explain how this works, show sample codebase and how you can we leverage this to build the future of Bahmni. The call is scheduled at 4:00 pm IST, Tuesday 25th July 2023. See your timezone here: Your timezone

@gsluthra @angshuonline

3 Likes

Anish George has created a document on Bahmni WIKI on the Micro-frontend Strategy for Bahmni, using React/Carbon coexisting with Angular here: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3210477602/Micro-frontends+MFE+architecture+for+UI

It contains:

  1. Video walkthrough of the concepts/architecture/gotchas, with a Q&A
  2. Details with sample code snippets
  3. Reference to a starter github repo, for people to use as a template sub-app

This approach allows people to:

  1. Write widgets/pages which can be embedded in Bahmni Angular pages/containers, which are served from a remote proxy based container.
  2. Can also be used to write stand-alone react apps (without any angular wrapper).

Note: Bahmni still has some legacy requirements, due to which Node v14 is being used currently by Anish. That is something we would also need to upgrade soon… but this is still a HUGE STEP Forward in the right direction. Thanks to Anish and the CURE IPD team for setting up the path for this moving forward.

Exciting times for Bahmni adopters in coming months! :slight_smile:

cc: @angshuonline @binduak @n0man @krishnakiran @grace