# sayaliwangane/intelligent-career-guidance-system architecture

> Architecture diagram of the GitHub repository sayaliwangane/intelligent-career-guidance-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sayaliwangane/intelligent-career-guidance-system
- Repository: https://github.com/sayaliwangane/intelligent-career-guidance-system

## Overview

##### Main Components

A. Frontend Layer:
- PHP-based web interface (*.php files)
- Static assets (CSS, JavaScript, fonts)
- Templates directory for dynamic content
- Separation between user-facing components:
- Career-specific pages (AI_ML_Specialist.php, Software_developer.php, etc.)
- Authentication pages (login.php, register.php)
- Core pages (main.php, blog.php, courses.php)

B. Backend Components:
- Python-based ML Service:
- Machine Learning Model (bagging.py)
- Test Application (testapp.py, testmodel.py)
- Model artifacts (careerlast.pkl)
- Database Layer (implied by Database_Administrator.php and config.php)

C. Integration Layer:
- API Integration (suggested by API_Integration_Specialist.php)
- Configuration Management (config.php)

**[Client Tier]**
- ↕
**[Application Tier]**
- ↕
**[Data Tier]**

##### Key Relationships to Highlight

a. User Flow:
- Authentication flow (login → main application)
- Career assessment path
- Course recommendation flow

b. Data Flow:
- ML model interaction with user input
- Database interactions
- API integrations

##### Elements

a. External Systems:
- Third-party APIs
- External resources
- Content delivery networks

b. Security Layer:
- Authentication flow
- Session management
- Security boundaries

**[User Interface Layer]**
- ↓
**[Authentication & Authorization]**
- ↓
**[Application Logic Layer]**
- ↙          ↘
**[ML Engine]  [Career Guidance Engine]**
- ↓          ↓
**[Data Storage Layer]**

##### Technical Details

- PHP-based web server
- Python ML services
- Static file serving
- Database connections
- API endpoints
- ML model deployment

##### Implementation Notes

- Separation between static and dynamic content
- Integration between PHP and Python components
- Where the ML model interfaces with the web application
- Security checkpoints and data validation steps

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "User Interface Layer"
        UI_Auth[Authentication Interface]
        UI_Career[Career Pages]
        UI_Core[Core Pages]
        UI_Static[Static Assets]:::static
    end

    subgraph "Application Layer"
        subgraph "Authentication System"
            Auth[Authentication Handler]
            Session[Session Manager]
        end

        subgraph "Core Application"
            MainApp[Main Application]
            Templates[Template System]:::templates
            Layout[Layout Components]
        end

        subgraph "Career Guidance System"
            CareerPages[Career Specializations]
            CourseSystem[Course Management]
            BlogSystem[Blog System]
        end
    end

    subgraph "ML & Data Layer"
        subgraph "Machine Learning System"
            MLModel[ML Model]:::ml
            TestSystem[Test System]
            Dataset[Training Dataset]:::ml
            ModelArtifact[Model Artifact]:::ml
        end

        subgraph "Data Management"
            Config[Configuration]
            DB[Database]
            APIIntegration[API Integration]:::api
        end
    end

    %% Relationships
    UI_Auth --> Auth
    Auth --> Session
    UI_Core --> MainApp
    UI_Career --> CareerPages
    MainApp --> Templates
    MainApp --> Layout
    CareerPages --> MLModel
    MLModel --> ModelArtifact
    TestSystem --> MLModel
    Dataset --> MLModel
    MainApp --> DB
    CareerPages --> APIIntegration
    CourseSystem --> DB
    BlogSystem --> DB
    Config --> DB

    %% Click Events
    click Auth "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/login.php"
    click UI_Static "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/tree/main//static"
    click Templates "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/tree/main//templates"
    click MLModel "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/bagging.py"
    click TestSystem "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/testapp.py"
    click ModelArtifact "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/careerlast.pkl"
    click Dataset "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/dataset9000.csv"
    click Config "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/config.php"
    click APIIntegration "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/API_Integration_Specialist.php"
    click Layout "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/header.php"
    click CareerPages "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/AI_ML_Specialist.php"
    click UI_Core "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/main.php"
    click CourseSystem "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/courses.php"
    click BlogSystem "https://github.com/sayaliwangane/INTELLIGENT-CAREER-GUIDANCE-SYSTEM/blob/main/blog.php"

    %% Styling
    classDef default fill:#f9f9f9,stroke:#333,stroke-width:2px
    classDef static fill:#e1f5fe,stroke:#0288d1
    classDef ml fill:#f3e5f5,stroke:#7b1fa2
    classDef api fill:#fff3e0,stroke:#ff9800
    classDef templates fill:#e8f5e9,stroke:#388e3c

    %% Legend
    subgraph Legend
        L1[Frontend Components]
        L2[ML Components]:::ml
        L3[API Components]:::api
        L4[Static Assets]:::static
        L5[Template System]:::templates
    end
```
