{"id":13452473,"url":"https://github.com/chriskitson/micro-frontends-with-web-components","last_synced_at":"2025-03-23T19:34:28.594Z","repository":{"id":34956530,"uuid":"185599345","full_name":"chriskitson/micro-frontends-with-web-components","owner":"chriskitson","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-05T01:42:29.000Z","size":1881,"stargazers_count":184,"open_issues_count":36,"forks_count":85,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-07-31T07:18:59.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chriskitson.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}},"created_at":"2019-05-08T12:13:46.000Z","updated_at":"2024-06-28T00:44:57.000Z","dependencies_parsed_at":"2022-08-24T04:30:32.475Z","dependency_job_id":null,"html_url":"https://github.com/chriskitson/micro-frontends-with-web-components","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/chriskitson%2Fmicro-frontends-with-web-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskitson%2Fmicro-frontends-with-web-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskitson%2Fmicro-frontends-with-web-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskitson%2Fmicro-frontends-with-web-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chriskitson","download_url":"https://codeload.github.com/chriskitson/micro-frontends-with-web-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221900972,"owners_count":16898997,"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":[],"created_at":"2024-07-31T07:01:25.105Z","updated_at":"2024-10-28T18:31:26.576Z","avatar_url":"https://github.com/chriskitson.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Micro-frontends with Web Components\n\nUsing web components as a wrapper for both Angular and React components, I am going to show them working alongside each other in a single application. I will also pass data to both components from the parent container, and back again.\n\nFollow the instructions below to build and serve micro-frontend components for Angular and React, and a wrapper application to compose them together and handle communication between them.\n\nFor a full walk-through visit [Create Micro-frontends using Web Components with support for Angular and React](https://medium.com/@kitson.mac/create-micro-frontends-using-web-components-with-support-for-angular-and-react-2d6db18f557a?source=friends_link\u0026sk=642e86f203d58724d63d9d98aeb11476).\n\n## Build and serve Angular component\n\n```sh\ncd micro-fe-ng\nnpm i\nnpm start\n```\n[http://localhost:5001/main.js](http://localhost:5001/main.js)\n\n```html\n\u003cng-el\u003e\u003c/ng-el\u003e\n```\n\n## Build and serve React component\n\n```sh\ncd micro-fe-react\nnpm i\nnpm start\n```\n[http://localhost:5002](http://localhost:5002)\n\n\n```html\n\u003creact-el\u003e\u003c/react-el\u003e\n```\n\n## Build and serve wrapper\n\n```sh\ncd micro-fe-wrapper\nnpm i\nnpm start\n```\n[http://localhost:5000](http://localhost:5000)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriskitson%2Fmicro-frontends-with-web-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchriskitson%2Fmicro-frontends-with-web-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriskitson%2Fmicro-frontends-with-web-components/lists"}