# aniketicloud/micro-frontend-project-react-vue architecture

> Architecture diagram of the GitHub repository aniketicloud/micro-frontend-project-react-vue, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aniketicloud/micro-frontend-project-react-vue
- Repository: https://github.com/aniketicloud/micro-frontend-project-react-vue

## Overview

This repository is a micro-frontend application: the container provides top-level navigation and routes users among marketing, authentication, and dashboard applications. The visible journey runs from the landing or pricing view to sign-up, then—when the authentication app invokes its supplied callback—to the signed-in dashboard route. The source index and excerpts establish the container routing and several component relationships; the dashboard and some remote-mount wiring are only partially shown, so those links are marked unverified rather than treated as inspected calls.

Main entry points: [`packages/container/src/App.js`](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/App.js) (Router and session state), [`packages/container/src/components/AuthApp.js`](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/AuthApp.js) (Auth mount adapter), [`packages/marketing/src/App.js`](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/App.js) (Marketing routes), [`packages/auth/src/App.js`](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/App.js) (Auth routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Container shell"]
  node_container["Router and session state<br/>[App.js]"]
  node_header["Navigation header<br/>[Header.js]"]
  node_progress["Loading indicator<br/>[Progress.js]"]
  node_authremote["Auth mount adapter<br/>[AuthApp.js]"]
  node_marketingremote["Marketing mount adapter<br/>[MarketingApp.js]"]
  node_dashboardremote["Dashboard mount adapter<br/>[DashboardApp.js]"]
end

subgraph group_marketing["Marketing experience"]
  node_marketingapp["Marketing routes<br/>[App.js]"]
  node_landing["Landing page<br/>[Landing.js]"]
  node_pricing["Pricing page<br/>[Pricing.js]"]
end

subgraph group_authentication["Authentication"]
  node_authapp["Auth routes<br/>[App.js]"]
  node_signin["Sign-in form<br/>[Signin.js]"]
  node_signup["Sign-up form<br/>[Signup.js]"]
  node_authmount["Auth mount lifecycle<br/>[bootstrap.js]"]
end

subgraph group_dashboard["Dashboard"]
  node_dashboardmount["Dashboard mount lifecycle<br/>[bootstrap.js]"]
  node_dashboardview["Dashboard view<br/>[Dashboard.vue]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens app"| node_container
node_container -->|"renders"| node_header
node_container -->|"shows fallback"| node_progress
node_container -->|"routes to auth"| node_authremote
node_container -->|"routes to marketing"| node_marketingremote
node_container -->|"routes to dashboard"| node_dashboardremote
node_authremote -.->|"mounts remote"| node_authmount
node_marketingremote -.->|"mounts remote"| node_marketingapp
node_dashboardremote -.->|"mounts remote"| node_dashboardmount
node_marketingapp -->|"routes to pricing"| node_pricing
node_marketingapp -->|"routes to landing"| node_landing
node_pricing -->|"links to signup"| node_signup
node_authapp -->|"routes to signin"| node_signin
node_authapp -->|"routes to signup"| node_signup
node_authmount -->|"renders"| node_authapp
node_authremote -->|"reports sign-in"| node_container
node_dashboardmount -->|"mounts view"| node_dashboardview

click node_container "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/App.js"
click node_header "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/Header.js"
click node_progress "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/Progress.js"
click node_authremote "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/AuthApp.js"
click node_marketingremote "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/MarketingApp.js"
click node_dashboardremote "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/DashboardApp.js"
click node_marketingapp "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/App.js"
click node_landing "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/components/Landing.js"
click node_pricing "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/components/Pricing.js"
click node_authapp "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/App.js"
click node_signin "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/components/Signin.js"
click node_signup "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/components/Signup.js"
click node_authmount "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/bootstrap.js"
click node_dashboardmount "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/dashboard/src/bootstrap.js"
click node_dashboardview "https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/dashboard/src/components/Dashboard.vue"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_container,node_header,node_progress,node_authremote,node_marketingremote,node_dashboardremote toneBlue
class node_marketingapp,node_landing,node_pricing toneAmber
class node_authapp,node_signin,node_signup,node_authmount toneMint
class node_dashboardmount,node_dashboardview toneRose
class node_visitor toneIndigo
```

## Components

### Container shell

- [Router and session state](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/App.js): `packages/container/src/App.js`
- [Navigation header](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/Header.js): `packages/container/src/components/Header.js`
- [Loading indicator](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/Progress.js): `packages/container/src/components/Progress.js`
- [Auth mount adapter](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/AuthApp.js): `packages/container/src/components/AuthApp.js`
- [Marketing mount adapter](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/MarketingApp.js): `packages/container/src/components/MarketingApp.js`
- [Dashboard mount adapter](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/container/src/components/DashboardApp.js): `packages/container/src/components/DashboardApp.js`

### Marketing experience

- [Marketing routes](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/App.js): `packages/marketing/src/App.js`
- [Landing page](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/components/Landing.js): `packages/marketing/src/components/Landing.js`
- [Pricing page](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/marketing/src/components/Pricing.js): `packages/marketing/src/components/Pricing.js`

### Authentication

- [Auth routes](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/App.js): `packages/auth/src/App.js`
- [Sign-in form](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/components/Signin.js): `packages/auth/src/components/Signin.js`
- [Sign-up form](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/components/Signup.js): `packages/auth/src/components/Signup.js`
- [Auth mount lifecycle](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/auth/src/bootstrap.js): `packages/auth/src/bootstrap.js`

### Dashboard

- [Dashboard mount lifecycle](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/dashboard/src/bootstrap.js): `packages/dashboard/src/bootstrap.js`
- [Dashboard view](https://github.com/aniketicloud/micro-frontend-project-react-vue/blob/master/packages/dashboard/src/components/Dashboard.vue): `packages/dashboard/src/components/Dashboard.vue`

### Other components

- **Visitor**

## Connections

- Visitor → Router and session state: opens app
- Router and session state → Navigation header: renders (evidence: `packages/container/src/App.js`)
- Router and session state → Loading indicator: shows fallback (evidence: `packages/container/src/App.js`)
- Router and session state → Auth mount adapter: routes to auth (evidence: `packages/container/src/App.js`)
- Router and session state → Marketing mount adapter: routes to marketing (evidence: `packages/container/src/App.js`)
- Router and session state → Dashboard mount adapter: routes to dashboard (evidence: `packages/container/src/App.js`)
- Auth mount adapter → Auth mount lifecycle: mounts remote
- Marketing mount adapter → Marketing routes: mounts remote
- Dashboard mount adapter → Dashboard mount lifecycle: mounts remote
- Marketing routes → Pricing page: routes to pricing (evidence: `packages/marketing/src/App.js`)
- Marketing routes → Landing page: routes to landing (evidence: `packages/marketing/src/App.js`)
- Pricing page → Sign-up form: links to signup (evidence: `packages/marketing/src/components/Pricing.js`)
- Auth routes → Sign-in form: routes to signin (evidence: `packages/auth/src/App.js`)
- Auth routes → Sign-up form: routes to signup (evidence: `packages/auth/src/App.js`)
- Auth mount lifecycle → Auth routes: renders (evidence: `packages/auth/src/bootstrap.js`)
- Auth mount adapter → Router and session state: reports sign-in (evidence: `packages/container/src/components/AuthApp.js`)
- Dashboard mount lifecycle → Dashboard view: mounts view (evidence: `packages/dashboard/src/bootstrap.js`)
