{"id":18849746,"url":"https://github.com/ashot72/microfrontends-microservices-based-online-store","last_synced_at":"2026-04-08T18:01:34.506Z","repository":{"id":117384702,"uuid":"559154034","full_name":"Ashot72/Microfrontends-Microservices-Based-Online-Store","owner":"Ashot72","description":"Microservices-Based Online Store with Microfrontends using Module Federation","archived":false,"fork":false,"pushed_at":"2022-10-29T11:11:53.000Z","size":5954,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T02:16:36.170Z","etag":null,"topics":["docker","kubernetes","micro-frontends","microservice","module-federation","nextjs","nodejs","online-store","react","webpack5"],"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/Ashot72.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":"2022-10-29T08:16:56.000Z","updated_at":"2025-04-03T06:32:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f911b286-f80d-4d8a-9051-4b802b661e42","html_url":"https://github.com/Ashot72/Microfrontends-Microservices-Based-Online-Store","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ashot72/Microfrontends-Microservices-Based-Online-Store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashot72%2FMicrofrontends-Microservices-Based-Online-Store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashot72%2FMicrofrontends-Microservices-Based-Online-Store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashot72%2FMicrofrontends-Microservices-Based-Online-Store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashot72%2FMicrofrontends-Microservices-Based-Online-Store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ashot72","download_url":"https://codeload.github.com/Ashot72/Microfrontends-Microservices-Based-Online-Store/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashot72%2FMicrofrontends-Microservices-Based-Online-Store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","kubernetes","micro-frontends","microservice","module-federation","nextjs","nodejs","online-store","react","webpack5"],"created_at":"2024-11-08T03:22:41.172Z","updated_at":"2026-04-08T18:01:34.486Z","avatar_url":"https://github.com/Ashot72.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices-Based Online Store with Microfrontends using Module Federation\nI implemented Microfrontends on our [Microservice-Based Online Store](https://github.com/Ashot72/Microservices-based-Online-Store) using Module Federation and deployed it in the local Kubernetes pods.\nMicro-frontend is a design approach where an application is split into multiple frontend applications. As a result, independent developers can work on each application. This approach significantly reduces the development time and process.\n\nPlease read first how to deploy [Microservice-Based Online Store](https://github.com/Ashot72/Microservices-based-Online-Store).\nBecause of runtime integration, and the exposed code compiling to JavaScript via Module Federation, the type information from Typescript is lost. For that reason, we create a shared library and link to each micro frontend  to enable type support. We do it via linking.\n\n```\n# Navigate to mfe-shared folder\ncd mfe-shared\n\n# Run yarn build command. Once it is successful, you will see dist folder and index.d.ts generated file.\nyarn build\n\n# Then run yarn link command. It should register \"mfe-shared\".\nyarn link\n\n# Navigate to client, clientcart and clientpayments folders and run yarn \"mfe-shared\" command.\ncd client\nyarn \"mfe-shared\"\n\nca clientcart\nyarn \"mfe-shared\"\n\nca clientpayments\nyarn \"mfe-shared\"\n\n```\n\nGo to Microservices-Based Online Store [Video](https://youtu.be/9Apf_SaA6nY) page\n\nGo to Microservices-Based Online Store [Description](https://ashot72.github.io//Microfrontends-Microservices-Based-Online-Store/index.html) page\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashot72%2Fmicrofrontends-microservices-based-online-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashot72%2Fmicrofrontends-microservices-based-online-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashot72%2Fmicrofrontends-microservices-based-online-store/lists"}