Hello 👋
This is my attempt to do Microfrontends architecture using Next.js and Module Federation.
As this is suppose to be a simple task I didn't overengineer😄 try to show everything I can, instead, as required, I really tried to spend ~30 minutes on it.
As a result I have working infrastracture and simple game (shell) which consumes 2 microfrontends.
Obviously you can run each application separately, but for your convinience 2 additional scripts are provided:
- Install all dependencies:
npm run install:allDeps
- Run all applications:
npm run start:allApps
- You can find a game running on ➡️ http://localhost:3333/