{"id":20721683,"url":"https://github.com/chicio/module-federation-react-example","last_synced_at":"2025-04-23T15:20:47.673Z","repository":{"id":83568180,"uuid":"491929464","full_name":"chicio/module-federation-react-example","owner":"chicio","description":"An example app designed with micro frontend architectural pattern using Webpack Module Federation. :rocket:","archived":false,"fork":false,"pushed_at":"2022-06-06T11:53:26.000Z","size":700,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T00:51:12.782Z","etag":null,"topics":["microfrontend","microfrontends","module-federation","module-federation-examples","react","reactjs","webpack","webpack5","webpack5-module-federation"],"latest_commit_sha":null,"homepage":"https://www.fabrizioduroni.it","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chicio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-13T14:29:04.000Z","updated_at":"2025-01-07T09:48:02.000Z","dependencies_parsed_at":"2023-07-07T19:33:44.090Z","dependency_job_id":null,"html_url":"https://github.com/chicio/module-federation-react-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2Fmodule-federation-react-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2Fmodule-federation-react-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2Fmodule-federation-react-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicio%2Fmodule-federation-react-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chicio","download_url":"https://codeload.github.com/chicio/module-federation-react-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250457778,"owners_count":21433734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["microfrontend","microfrontends","module-federation","module-federation-examples","react","reactjs","webpack","webpack5","webpack5-module-federation"],"created_at":"2024-11-17T03:28:59.323Z","updated_at":"2025-04-23T15:20:47.666Z","avatar_url":"https://github.com/chicio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Module Federation React Example\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/chicio/module-federation-react-example/main/LICENSE.md)\n\nAn example app designed with micro frontend architectural pattern using Module Federation.\n\n## Description\n\nThis repository contains an example app created using the micro frontend architect.\nThe app is composed by:\n\n* myarea: the main host app that let a user see his/her orders\n* cancel-order: a widget app that let the user delete an order\n\nThe cancel-order widget is loaded into the host app using Webpack Module Federation, by loading a widget from a remote url received as dynamic configuration from a remote service. This is an app create for my blog post [\"Create a microfrontend app using module federation and dynamic configuration\"](https://www.fabrizioduroni.it/2022/06/06/microfrontend-module-federation-dynamic-configuration/). Below you can find a quote from the article.  \n\n\u003e ...There are various way to achive the microfrontend architecture, that usually require a lot of custom work/development and/or the usage of specific frameworks (eg. [single-spa](https://github.com/single-spa/single-spa \"single-spa\") etc.). With the release of Webpack 5 there is a new game-changer player in the microfrontend world: Module Federation...\n\nClick [here](https://www.fabrizioduroni.it/2022/06/06/microfrontend-module-federation-dynamic-configuration/ \"module federation react example\") to read the post.\n\n## Try it\n\nTo try the example contained in this repository you just need to run the following commands from the root folder.\n\n```bash\nnpm install\nnpm start\n```\n\nNB. the commands above will start both apps because we are using `concurrently` and npm workspaces. Make sure to have installed npm verion `\u003e 7.X.X`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicio%2Fmodule-federation-react-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchicio%2Fmodule-federation-react-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicio%2Fmodule-federation-react-example/lists"}