# dua090/mern-stack-web-d architecture

> Architecture diagram of the GitHub repository dua090/mern-stack-web-d, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dua090/mern-stack-web-d
- Repository: https://github.com/dua090/mern-stack-web-d

## Overview

##### Project type and purpose
- At the root level you have a “monorepo” or portfolio repository that collects multiple standalone projects and tutorials:
- browser-use examples (Python scripts)
- duastech (a small frontend app)
- fullstackprojects (several MERN‐style apps: chat app, auth, expense tracker, Google OAuth, resume extractor)
- pure HTML/CSS/JS lectures
- interview preparation code (Node/Express)
- MongoDB CRUD scripts
- neonflake/schollprop (full-stack rental app)
- nodeexpress tutorials (various Express demos)
- react lectures (many Vite/React micro-apps)
- tailwind lectures
- threejs demos
- todo/todolist fullstack app
- The purpose is to organize learning samples and mini-projects by technology or by feature.

##### File structure
- Top-level directories are grouped by technology or course (e.g. `react`, `nodeexpress`, `tailwind`, `threejs`, `fullstackprojects`, etc.).
- Under each technology folder you typically find one or more subprojects, each with its own `package.json`, source directories (`src`, `backend`/`frontend`), config files, and documentation.
- Full-stack examples always follow a similar two-tier pattern:
- `backend` – Express/Node server, controllers, models, routes, environment config
- `frontend` – React/Vite or static HTML/CSS/JS, assets, build config
- Other folders contain standalone scripts or tutorials that run without a server (e.g. Python in `browser-use`, Mongo shell scripts in `mongodb`, pure HTML lectures in `html_css_js`).

## Diagram (Mermaid)

```mermaid
flowchart TB
    Monorepo["Learning Portfolio (monorepo)"]:::external
    Monorepo --- BrowserUse
    Monorepo --- Duastech
    Monorepo --- FullstackProjects
    Monorepo --- HTMLCSSJS
    Monorepo --- InterviewPrep
    Monorepo --- MongoScripts
    Monorepo --- Neonflake
    Monorepo --- NodeExpress
    Monorepo --- ReactLectures
    Monorepo --- TailwindLectures
    Monorepo --- ThreejsDemos
    Monorepo --- TodoApp

    subgraph "Browser-use Examples"
        BrowserUse["Python Scripts"] 
    end
    subgraph "Duastech Frontend App"
        Duastech["React/Vite App"]:::frontend
    end
    subgraph "Fullstack Projects"
        FullstackProjects["Cluster"]:::external

        subgraph EXPENSE["Expense Tracker"]
            FS_EXP_FRONT["SPA (React/Vite)"]:::frontend
            FS_EXP_BACK["API Server (Express)"]:::backend
            FS_EXP_FRONT -->|"REST API"| FS_EXP_BACK
            FS_EXP_BACK -->|"Reads/Writes"| DB_EXP["MongoDB"]:::db
        end

        subgraph GOOGLE["Google OAuth"]
            GO_FRONT["SPA"]:::frontend
            GO_BACK["API Server"]:::backend
        end
        subgraph RESUME["Resume Extractor"]
            RE_FRONT["SPA"]:::frontend
            RE_BACK["API Server"]:::backend
        end
        subgraph CHAT["Chat App"]
            CHAT_APP["MERN App"] 
        end
        subgraph AUTHMERN["Auth Example"]
            AUTH_APP["MERN App"]
        end
    end

    subgraph "Pure HTML/CSS/JS Lectures"
        HTMLCSSJS["Static Sites"]
    end
    subgraph "Interview Preparation (Node/Express)"
        InterviewPrep["Node/Express Demos"]:::backend
    end
    subgraph "MongoDB CRUD Scripts"
        MongoScripts["Shell Scripts"]
    end
    subgraph "Neonflake SchoolProp Rental App"
        NeonAppFront["Frontend"]:::frontend
        NeonAppBack["Backend"]:::backend
    end
    subgraph "NodeExpress Tutorials"
        NodeExpress["Express Demos"]:::backend
    end
    subgraph "React Lectures"
        ReactLectures["Vite/React Micro-apps"]:::frontend
    end
    subgraph "Tailwind Lectures"
        TailwindLectures["Tailwind Samples"]
    end
    subgraph "Three.js Demos"
        ThreeBasic["Basic Demo"]
        ThreeViteReact["Vite React Demo"]:::frontend
        ThreeVite["Vite Demo"]
    end
    subgraph "To-Do List Full-Stack App"
        TODO_FRONT["Frontend SPA"]:::frontend
        TODO_BACK["Backend API"]:::backend
        TODO_FRONT -->|"API Calls"| TODO_BACK
    end

    %% Dashed independence lines
    BrowserUse -.-> Duastech
    Duastech -.-> FullstackProjects
    FullstackProjects -.-> HTMLCSSJS
    HTMLCSSJS -.-> InterviewPrep
    InterviewPrep -.-> MongoScripts
    MongoScripts -.-> NeonAppFront
    NeonAppFront -.-> NodeExpress
    NodeExpress -.-> ReactLectures
    ReactLectures -.-> TailwindLectures
    TailwindLectures -.-> ThreeBasic
    ThreeBasic -.-> TODO_FRONT

    %% Click events
    click Monorepo "https://github.com/dua090/mern-stack-web-d/tree/master//"
    click BrowserUse "https://github.com/dua090/mern-stack-web-d/tree/master//browser-use"
    click Duastech "https://github.com/dua090/mern-stack-web-d/tree/master//duastech/frontend"
    click FullstackProjects "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects"
    click FS_EXP_FRONT "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/expensetracker/frontend"
    click FS_EXP_BACK "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/expensetracker/backend"
    click GO_FRONT "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/googlewuthentication/frontend"
    click GO_BACK "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/googlewuthentication/backend"
    click RE_FRONT "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/resumeextracter/frontend"
    click RE_BACK "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/resumeextracter/backend"
    click CHAT_APP "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/CHAT-APP"
    click AUTH_APP "https://github.com/dua090/mern-stack-web-d/tree/master//fullstackprojects/MERN-Auth"
    click HTMLCSSJS "https://github.com/dua090/mern-stack-web-d/tree/master//html_css_js"
    click InterviewPrep "https://github.com/dua090/mern-stack-web-d/tree/master//interview"
    click MongoScripts "https://github.com/dua090/mern-stack-web-d/tree/master//mongodb"
    click NeonAppFront "https://github.com/dua090/mern-stack-web-d/tree/master//neonflake/schollprop/frontend"
    click NeonAppBack "https://github.com/dua090/mern-stack-web-d/tree/master//neonflake/schollprop/backend"
    click NodeExpress "https://github.com/dua090/mern-stack-web-d/tree/master//nodeexpress"
    click ReactLectures "https://github.com/dua090/mern-stack-web-d/tree/master//react"
    click TailwindLectures "https://github.com/dua090/mern-stack-web-d/tree/master//tailwind"
    click ThreeBasic "https://github.com/dua090/mern-stack-web-d/tree/master//threejs/basic"
    click ThreeViteReact "https://github.com/dua090/mern-stack-web-d/tree/master//threejs/vite-react"
    click ThreeVite "https://github.com/dua090/mern-stack-web-d/tree/master//threejs/vite"
    click TODO_FRONT "https://github.com/dua090/mern-stack-web-d/tree/master//todo/todolist"
    click TODO_BACK "https://github.com/dua090/mern-stack-web-d/tree/master//todo/todolist/backend"

    classDef frontend fill:#ADD8E6,stroke:#000
    classDef backend fill:#90EE90,stroke:#000
    classDef db fill:#FFE082,stroke:#000
    classDef external fill:#E0E0E0,stroke:#000
```
