# codefreakkk/devsinfo architecture

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

- Interactive diagram: https://gitdiagram.com/codefreakkk/devsinfo
- Repository: https://github.com/codefreakkk/devsinfo

## Overview

##### Project type and purpose
- This is a single‐page front‐end application built with React and Redux (per the file structure and minimal README: “# Front end”).
- It provides a user dashboard/portfolio site with pages for landing (Login/Signup), user home, profile editing, projects, resume, settings, etc.

##### File structure
- Top level:
- public/index.html – static shell
- src/index.js – React entry point
- src/App.js – root component
- src/components – all UI components (pages, navbar, sidebar, etc.)
- src/actions + src/reducer + src/store.js – Redux (actions, reducers, store)
- src/assets + src/css – images & styling
- No backend code here, so external API calls will be represented as external services.

##### README
- Only indicates “Front end,” confirming this is purely the client side. No further architecture notes.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Presentation Layer
    subgraph "Presentation Layer" 
        direction TB
        UI_shell["Browser / UI Shell"]:::static
        UI_shell -->|loads| React_entry
        Assets["Static Assets & Styling"]:::static
        UI_shell --> Assets
    end

    %% React Application
    subgraph "React Application" 
        direction TB
        React_entry["src/index.js"]:::react
        React_entry --> App_root
        App_root["src/App.js"]:::react
        App_root --> UI_components
    end

    %% UI Components Layer
    subgraph "UI Components Layer" 
        direction TB
        subgraph "Landing Pages & Navbar"
            direction TB
            LN_nav["LandingNavbar"]:::ui
            LN_page["LandingPage"]:::ui
            Login["Login"]:::ui
            Signup["Signup"]:::ui
        end
        subgraph "Dashboard & Layout"
            direction TB
            Dashboard["Userdashboard"]:::ui
            Navbar["Navbar"]:::ui
            Sidebar["Sidebar"]:::ui
        end
        subgraph "Profile & Editing"
            direction TB
            Profile["Codingprofile"]:::ui
            EditProfile["Editprofile"]:::ui
            MobileProfile["HomeProfile_mobile"]:::ui
        end
        subgraph "Projects & Settings"
            direction TB
            Projects["ProjectsComponent"]:::ui
            ProjectContainer["ProjectContainer"]:::ui
            ProjectSettings["ProjectSettings"]:::ui
            ProjectSettingComp["ProjectSettingComponent"]:::ui
        end
        subgraph "Other Pages & Components"
            direction TB
            Home["Home"]:::ui
            ContactPage["ContactPage"]:::ui
            Contact["Contact"]:::ui
            ContactComp["ContactComponent"]:::ui
            Resume["Resume"]:::ui
            Settings["Settings"]:::ui
            Themes["Themes"]:::ui
            ThemesComp["ThemesComponent"]:::ui
        end
        UI_components["UI Components"]:::ui
        UI_components --> LN_nav
        UI_components --> LN_page
        UI_components --> Login
        UI_components --> Signup
        UI_components --> Dashboard
        UI_components --> Navbar
        UI_components --> Sidebar
        UI_components --> Profile
        UI_components --> EditProfile
        UI_components --> MobileProfile
        UI_components --> Projects
        UI_components --> ProjectContainer
        UI_components --> ProjectSettings
        UI_components --> ProjectSettingComp
        UI_components --> Home
        UI_components --> ContactPage
        UI_components --> Contact
        UI_components --> ContactComp
        UI_components --> Resume
        UI_components --> Settings
        UI_components --> Themes
        UI_components --> ThemesComp
    end

    %% State Management Layer
    subgraph "State Management Layer (Redux)" 
        direction TB
        Store["src/store.js"]:::state
        Actions["src/actions/sidebarActions.js"]:::state
        Reducers["rootReducers & sidebarReducer"]:::state
        UI_components -->|dispatch actions| Actions
        Actions -->|updates| Store
        Store -->|uses reducers| Reducers
        Reducers -->|updates state| Store
        Store -->|state props| UI_components
    end

    %% External Services
    ExternalAPI["External REST API"]:::external
    Actions -->|async calls| ExternalAPI
    ExternalAPI -->|responses| Actions

    %% Click events
    click UI_shell "https://github.com/codefreakkk/devsinfo/blob/master/public/index.html"
    click Assets "https://github.com/codefreakkk/devsinfo/tree/master/src/assets/images"
    click Assets "https://github.com/codefreakkk/devsinfo/blob/master/src/css/style.css"
    click Assets "https://github.com/codefreakkk/devsinfo/blob/master/src/css/landingpage.css"
    click React_entry "https://github.com/codefreakkk/devsinfo/blob/master/src/index.js"
    click App_root "https://github.com/codefreakkk/devsinfo/blob/master/src/App.js"
    click LN_nav "https://github.com/codefreakkk/devsinfo/blob/master/src/components/landingpage/LandingNavbar.jsx"
    click LN_page "https://github.com/codefreakkk/devsinfo/blob/master/src/components/landingpage/LandingPage.jsx"
    click Login "https://github.com/codefreakkk/devsinfo/blob/master/src/components/landingpage/Login.jsx"
    click Signup "https://github.com/codefreakkk/devsinfo/blob/master/src/components/landingpage/Signup.jsx"
    click Dashboard "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Userdashboard.jsx"
    click Navbar "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Navbar.jsx"
    click Sidebar "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Sidebar.jsx"
    click Profile "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Codingprofile.jsx"
    click EditProfile "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Editprofile.jsx"
    click MobileProfile "https://github.com/codefreakkk/devsinfo/blob/master/src/components/HomeProfile_mobile.jsx"
    click Projects "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ProjectsComponent.jsx"
    click ProjectContainer "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ProjectContainer.jsx"
    click ProjectSettings "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ProjectSettings.jsx"
    click ProjectSettingComp "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ProjectSettingComponent.jsx"
    click Home "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Home.jsx"
    click ContactPage "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ContactPage.jsx"
    click Contact "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Contact.jsx"
    click ContactComp "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ContactComponent.jsx"
    click Resume "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Resume.jsx"
    click Settings "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Settings.jsx"
    click Themes "https://github.com/codefreakkk/devsinfo/blob/master/src/components/Themes.jsx"
    click ThemesComp "https://github.com/codefreakkk/devsinfo/blob/master/src/components/ThemesComponent.jsx"
    click Store "https://github.com/codefreakkk/devsinfo/blob/master/src/store.js"
    click Actions "https://github.com/codefreakkk/devsinfo/blob/master/src/actions/sidebarActions.js"
    click Reducers "https://github.com/codefreakkk/devsinfo/blob/master/src/reducer/rootReducers.js"
    click Reducers "https://github.com/codefreakkk/devsinfo/blob/master/src/reducer/sidebarReducer.js"

    %% Styles
    classDef ui fill:#D0E8FF,stroke:#30A9DE,stroke-width:1px
    classDef react fill:#A0D1FB,stroke:#1B6CA8,stroke-width:1px
    classDef state fill:#D4F5D4,stroke:#4CAF50,stroke-width:1px
    classDef external fill:#FFE4B5,stroke:#FF8C00,stroke-width:1px
    classDef static fill:#E0E0E0,stroke:#9E9E9E,stroke-width:1px
```
