{"id":28862287,"url":"https://github.com/theshefer/module-federation","last_synced_at":"2026-05-19T10:02:33.866Z","repository":{"id":239287250,"uuid":"799079206","full_name":"theshefer/module-federation","owner":"theshefer","description":"Connect multiple microservices into one effective monolithic application with Webpack Module Federation","archived":false,"fork":false,"pushed_at":"2024-05-11T20:02:20.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T04:41:37.635Z","etag":null,"topics":["microfrontend","module-federation","monolith-architecture","npm-workspaces","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theshefer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-11T06:02:15.000Z","updated_at":"2024-05-11T20:06:39.000Z","dependencies_parsed_at":"2024-11-13T04:12:23.301Z","dependency_job_id":"482d92ee-325f-4509-ad1c-cedde7a9a76f","html_url":"https://github.com/theshefer/module-federation","commit_stats":null,"previous_names":["sssshefer/monorepo","theshefer/module-federation","sssshefer/module-federation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theshefer/module-federation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theshefer%2Fmodule-federation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theshefer%2Fmodule-federation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theshefer%2Fmodule-federation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theshefer%2Fmodule-federation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theshefer","download_url":"https://codeload.github.com/theshefer/module-federation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theshefer%2Fmodule-federation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31969762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","module-federation","monolith-architecture","npm-workspaces","webpack"],"created_at":"2025-06-20T06:10:34.087Z","updated_at":"2026-04-18T12:33:22.670Z","avatar_url":"https://github.com/theshefer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monolithic Architecture with Webpack Module Federation\n This project demonstrates how to consolidate multiple microservices into a one monolith application using webpack module federation\n\n\n\u003e \u003ch3\u003e Motivation \u003c/h3\u003e \n\u003e Multiple separate builds should form a single application. These separate builds act like containers and can expose and consume code between builds, creating a single, unified application.\n\u003e This is often known as Micro-Frontends, but is not limited to that. \u003cbr/\u003e\n\n\u003e From official webpack documentation. You can read more about module federation [here](https://webpack.js.org/concepts/module-federation/)\n\n## Usage\n\nGit clone the repo \n```bash\n$ git clone https://github.com/sssshefer/monorepo.git\n```\n\nInstall all dependencies for project\n```bash\n$ npm install\n```\n\u003e [!TIP]\n\u003e You don't need to install dependencies for each service separately. \n\u003e Just run `npm install` in the root directory and all dependencies will be installed for all services without duplication.\n\u003e This is one of the advantages of workspaces in npm\n\nExample of running one specific microservice\n```bash\n$ npm run start -w admin\n```\n\nHow to run all services at once\n```bash\n$ npm run startAll\n```\n\n\u003e [!NOTE]\nIt is possible to run all services at once with package called concurrently. it allows you to run multiple commands *concurrently*\n\u003c!-- basically it is like publishing a package to npm, but you are doing it locally --\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheshefer%2Fmodule-federation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheshefer%2Fmodule-federation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheshefer%2Fmodule-federation/lists"}