princeprasad90/mfe — reverse-engineered prompt
Reverse engineered prompt
Build me a working micro frontend demo app based on this repo.
I want a main shell app that opens at localhost 3000 and lets me navigate between separate remote apps for CBMS, CDTS, and Products. The shell should use React routing, and each remote should load independently through Vite federation with its own remoteEntry file. CBMS and CDTS should be React remotes, and Products should be an Angular remote. Keep the shared notification SDK in packages and make the apps able to use it.
Please set up the monorepo so npm install works, and add simple dev scripts so I can run the shell and all remotes in separate terminals. Include sensible local env values for the remote URLs, and production env placeholders too. Make the UI simple but clear, with navigation, loading states, and enough content in each remote so I can tell they are actually being loaded separately.
If anything is missing, check the current Vite federation docs online and make it run cleanly.
Want more depth? Deep Reverse