{"id":16594083,"url":"https://github.com/atilafassina/multiapp-domain","last_synced_at":"2026-04-29T21:35:35.199Z","repository":{"id":45943420,"uuid":"398655570","full_name":"atilafassina/multiapp-domain","owner":"atilafassina","description":"Jamstack performance and accessibility friendly alternative for Micro-Frontends","archived":false,"fork":false,"pushed_at":"2021-11-25T19:43:04.000Z","size":95,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T22:53:38.048Z","etag":null,"topics":["jamstack","nextjs","serverless"],"latest_commit_sha":null,"homepage":"https://jammy-mfe.vercel.app/","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/atilafassina.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":"2021-08-21T21:02:24.000Z","updated_at":"2023-05-12T17:05:01.000Z","dependencies_parsed_at":"2022-09-05T10:01:57.477Z","dependency_job_id":null,"html_url":"https://github.com/atilafassina/multiapp-domain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atilafassina/multiapp-domain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Fmultiapp-domain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Fmultiapp-domain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Fmultiapp-domain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Fmultiapp-domain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atilafassina","download_url":"https://codeload.github.com/atilafassina/multiapp-domain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atilafassina%2Fmultiapp-domain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["jamstack","nextjs","serverless"],"created_at":"2024-10-11T23:45:02.095Z","updated_at":"2026-04-29T21:35:35.185Z","avatar_url":"https://github.com/atilafassina.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multiapp domain 🚇\n\nProof-of-Concept of how **micro-frontend** would work within a Jamstack Architecture. It provides all performance benefits of a Jamstack applicaiton, together with the granularity of a micro-frontend for larger teams and apps.\n\n## Limitations and pre-requistites 🧐\n\n- All pages should be unique across zones. For example, the main app should not have a `pages/login.tsx` page.\n- The main app includes the `rewrites` within its `next.config.json` which maps to all other apps\n- The secondary zones set `basePath` to their own main route (login sets to `/login`) so that generated pages and assets are within the respective subfolder.\n\n🌍 [Check it live](https://atila.io/jamstacky-microfrontend)\n\n## Ship them yourself 🐑\n\nTo successfully deploy this project, you will need to click this button twice.\n\n1. Set one of the apps as the root (`app/login` or `app/main`)\n2. Set all the [environment variables](#environment-variables) for your deploy on that app\n3. Repeat step for the other app\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fatilafassina%2Fnextjs-multi-zone)\n\n## Running it locally 🛖\n\n1. Clone this repository\n2. Add an `.env.local` to each of the apps according to docs below\n3. At the root of the repo, run `yarn install`\n4. Run `yarn dev`\n\nBoth apps will be served, now you can navigate to the main app's server.\nDefault is [localhost:3001](http://localhost:3001)\n\n## Environment Variables 🔌\n\nYou can add `.env` files as described in the [Next.js docs](https://nextjs.org/docs/basic-features/environment-variables)\n\n### app/Main\n\n| dependency     | description                                      |\n| -------------- | ------------------------------------------------ |\n| `LOGIN_URL`    | the redirect to your login page on the other app |\n| `NEXTAUTH_URL` | route to your login page                         |\n\n### app/Login\n\n| dependency             | description                     |\n| ---------------------- | ------------------------------- |\n| `GITHUB_CLIENT_ID`     | your Github Oauth client id     |\n| `GITHUB_CLIENT_SECRET` | your Github Oauth client secret |\n| `NEXTAUTH_URL`         | route to your login page        |\n| `JWT_SECRET`           | any `string`                    |\n\n## What’s inside? 🧰\n\n| dependency | version |\n| ---------- | ------- |\n| Next.js    | 11+     |\n| React      | 17+     |\n| TypeScript | 4+      |\n| Next-Auth  | 3+      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatilafassina%2Fmultiapp-domain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatilafassina%2Fmultiapp-domain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatilafassina%2Fmultiapp-domain/lists"}