# rupesh6786/info-point architecture

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

- Interactive diagram: https://gitdiagram.com/rupesh6786/info-point
- Repository: https://github.com/rupesh6786/info-point

## Overview

##### Project type and purpose
- This is a static, client-side web application (multiple HTML/CSS/JS pages) that consumes a Backend-as-a-Service (Firebase Realtime Database) and is hosted on Netlify.
- Purpose: Provide a responsive syllabus viewer and student resume portal for BSc.IT 3rd-year students, with registration, dynamic profile cards, and a searchable sidebar.

##### File structure
- Top-level files:
- HTML pages (index.html, syllabus.html, register.html, search.html, plus language-specific pages and numbered HTML files).
- CSS files corresponding to each page or component (style.css, about.css, search-bar-style.css, register-style.css, syllabus.css, etc.).
- README.md and an image directory.
- No “backend” or “api” folder—JavaScript in the HTML pages directly interacts with Firebase.
- Netlify deployment is inferred by the live-demo URL; no custom build scripts or server code.

##### README
- Stack: HTML5, CSS3, JavaScript on the frontend; Firebase Realtime Database as the data layer; Netlify for hosting.
- Features call out real-time registration, dynamic cards, and a searchable sidebar.
- No self-hosted backend, authentication is presumably anonymous or via Firebase’s REST/SDK.

##### Main components
a. User’s Browser (Client)
b. Static Hosting/CDN (Netlify)
c. Application Assets (HTML, CSS, JS)
d. Firebase Realtime Database (BaaS)
e. Optional: External services (e.g., Firebase Auth if used, Analytics)

##### Relationships and data flow
- On page load, Browser fetches HTML/CSS/JS from Netlify.
- JS on the client initiates Firebase SDK or REST calls:
- Read syllabus (static pages)
- Write new student records on registration
- Read student profiles to generate dynamic cards
- Query for resumes in the sidebar
- Firebase Realtime Database responds with JSON data, which the client renders live.

##### Architectural patterns and design principles
- Client-Side Rendering (CSR) with BaaS
- Single Responsibility: each page has its own CSS file and dedicated JS logic
- Separation of Concerns: static content vs. dynamic data layer
- Responsiveness: mobile-first CSS, fluid layouts

##### Technologies and libraries
- HTML5 pages for UI
- CSS3 (separate stylesheets per component/page)
- Vanilla JavaScript or Firebase SDK for data operations
- Firebase Realtime Database as the single data source
- Netlify CDN for high-availability static asset delivery

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Browser
    Browser["User Browser"]:::frontend

    %% Static Hosting Group
    subgraph "Static Hosting (Netlify CDN)" 
        direction TB
        %% Landing Page
        subgraph "Landing Page"
            direction TB
            Index["index.html"]:::frontend
            IndexCSS["index.css"]:::frontend
        end
        %% Syllabus Viewer
        subgraph "Syllabus Viewer"
            direction TB
            SyllabusHTML["syllabus.html"]:::frontend
            SyllabusCSS["syllabus.css"]:::frontend
            Pages["1.html,2.html,3.html,4.html,5.html"]:::frontend
            LangPages["languageone.html, languagetwo.html, language3.html, language4.html, language5.html"]:::frontend
            LangCSS["language.css"]:::frontend
        end
        %% Registration Component
        subgraph "Registration Component"
            direction TB
            RegisterHTML["register.html"]:::frontend
            RegisterCSS["register-style.css"]:::frontend
        end
        %% Search/Resume Portal
        subgraph "Search/Resume Portal"
            direction TB
            SearchHTML["search.html"]:::frontend
            SearchCSS["search-bar-style.css"]:::frontend
        end
        %% About/Profile Static
        subgraph "About/Profile Page"
            direction TB
            AboutHTML["about.html"]:::frontend
            AboutCSS["about.css"]:::frontend
        end
        %% Shared Styles and Utilities
        subgraph "Shared Styles & Utils"
            direction TB
            Shared1["style.css"]:::frontend
            Shared2["style_copy.css"]:::frontend
        end
        %% Image Assets
        ImageAssets["image/ (images directory)"]:::frontend
        %% Documentation
        README["README.md"]:::frontend
    end

    %% Backend-as-a-Service
    Firebase["Firebase Realtime Database"]:::database

    %% Data Flow
    Browser -->|"GET HTML/CSS/JS"| Index
    Browser --> IndexCSS
    Browser --> SyllabusHTML
    Browser --> SyllabusCSS
    Browser --> Pages
    Browser --> LangPages
    Browser --> LangCSS
    Browser --> RegisterHTML
    Browser --> RegisterCSS
    Browser --> SearchHTML
    Browser --> SearchCSS
    Browser --> AboutHTML
    Browser --> AboutCSS
    Browser --> Shared1
    Browser --> Shared2
    Browser --> ImageAssets
    Browser --> README

    Browser -->|"CRUD operations (JS SDK/REST)"| Firebase
    Firebase -->|"JSON Data"| Browser

    %% Click Events
    click Index "https://github.com/rupesh6786/info-point/blob/main/index.html"
    click IndexCSS "https://github.com/rupesh6786/info-point/blob/main/index.css"
    click SyllabusHTML "https://github.com/rupesh6786/info-point/blob/main/syllabus.html"
    click SyllabusCSS "https://github.com/rupesh6786/info-point/blob/main/syllabus.css"
    click Pages "https://github.com/rupesh6786/info-point/blob/main/1.html"
    click Pages "https://github.com/rupesh6786/info-point/blob/main/2.html"
    click Pages "https://github.com/rupesh6786/info-point/blob/main/3.html"
    click Pages "https://github.com/rupesh6786/info-point/blob/main/4.html"
    click Pages "https://github.com/rupesh6786/info-point/blob/main/5.html"
    click LangPages "https://github.com/rupesh6786/info-point/blob/main/languageone.html"
    click LangPages "https://github.com/rupesh6786/info-point/blob/main/languagetwo.html"
    click LangPages "https://github.com/rupesh6786/info-point/blob/main/language3.html"
    click LangPages "https://github.com/rupesh6786/info-point/blob/main/language4.html"
    click LangPages "https://github.com/rupesh6786/info-point/blob/main/language5.html"
    click LangCSS "https://github.com/rupesh6786/info-point/blob/main/language.css"
    click RegisterHTML "https://github.com/rupesh6786/info-point/blob/main/register.html"
    click RegisterCSS "https://github.com/rupesh6786/info-point/blob/main/register-style.css"
    click SearchHTML "https://github.com/rupesh6786/info-point/blob/main/search.html"
    click SearchCSS "https://github.com/rupesh6786/info-point/blob/main/search-bar-style.css"
    click AboutHTML "https://github.com/rupesh6786/info-point/blob/main/about.html"
    click AboutCSS "https://github.com/rupesh6786/info-point/blob/main/about.css"
    click Shared1 "https://github.com/rupesh6786/info-point/blob/main/style.css"
    click Shared2 "https://github.com/rupesh6786/info-point/blob/main/style_copy.css"
    click ImageAssets "https://github.com/rupesh6786/info-point/tree/main/image/"
    click README "https://github.com/rupesh6786/info-point/blob/main/README.md"

    %% Styles
    classDef frontend fill:#e0f7fa,stroke:#006064,color:#000;
    classDef hosting fill:#e8f5e9,stroke:#1b5e20,color:#000;
    classDef database fill:#fff3e0,stroke:#e65100,color:#000;
```
