# swastidesisascendeducare/desis-ascend-educare-assignments architecture

> Architecture diagram of the GitHub repository swastidesisascendeducare/desis-ascend-educare-assignments, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/swastidesisascendeducare/desis-ascend-educare-assignments
- Repository: https://github.com/swastidesisascendeducare/desis-ascend-educare-assignments

## Overview

##### Main Components Identification
The project consists of three main assignments:
- Assignment 1: BookStore Inventory Management (C++)
- Assignment 2: C++ Socket Chat Application
- Assignment 3: Database-related tasks

##### Specific Implementation Details

For Assignment 1:
- Relationship between the implementation file and design document
- Inventory management flow

For Assignment 2:
- Client-server architecture
- Network communication protocols
- Message flow between components

For Assignment 3:
- Related SQL queries
- Relationships between different database schemas
- Optimization analysis connections

##### Documentation Links

Remember to include:
- File relationships
- Technology stack indicators
- Clear boundaries between assignments
- Documentation connections
- Implementation details where relevant

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Main["DESIS Ascend Educare 2024 Assignments"]
        subgraph A1["Assignment 1: BookStore"]
            BS["BookStore Implementation"]:::cpp
            BD["Design Documentation"]:::doc
            BS --> BD
        end

        subgraph A2["Assignment 2: Socket Chat"]
            Client["Client Application"]:::cpp
            Server["Server Application"]:::cpp
            Client <--> |"TCP/IP Socket"| Server
        end

        subgraph A3["Assignment 3: Database Systems"]
            subgraph Schemas["Database Schemas"]
                BTS["Bus Tracking Schema"]:::db
                FDS["Food Delivery Schema"]:::db
            end

            subgraph AirportQueries["Airport Database Queries"]
                Airlines["Airline Types Query"]:::sql
                AvgPrice["Average Price Query"]:::sql
                FlightDates["Flight Dates Query"]:::sql
                Routes["Flight Routes Query"]:::sql
                Revenue["Revenue Query"]:::sql
                OptAnalysis["Query Optimization Analysis"]:::doc
                
                Airlines --> OptAnalysis
                AvgPrice --> OptAnalysis
                FlightDates --> OptAnalysis
                Routes --> OptAnalysis
                Revenue --> OptAnalysis
            end

            NA["Normalization Analysis"]:::doc
        end
    end

    %% Click Events
    click BS "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 1: BookStore Inventory Management/BookstoreInventoryManagement.cpp"
    click BD "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 1: BookStore Inventory Management/Design Diagram.pdf"
    click Client "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 2: C++ Socket Chat application/client.cpp"
    click Server "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 2: C++ Socket Chat application/server.cpp"
    click BTS "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/BusTrackingApp_MakingAndPopulatingTables.pdf"
    click FDS "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/FoodDeliveryApp_MakingAndPopulatingTables.pdf"
    click Airlines "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/Queries For airportdb/AirlineTypesBasedOnPassengerID.sql"
    click AvgPrice "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/Queries For airportdb/AvgPriceGivenFlightID.sql"
    click FlightDates "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/Queries For airportdb/DatesNotSuitableForFlights.sql"
    click Routes "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/Queries For airportdb/SourceToDestinationAllFlights.sql"
    click Revenue "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/Queries For airportdb/TopAirlinesByRevenue.sql"
    click OptAnalysis "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/Queries For airportdb/Q3_PARTB_OptimizationReasoning.pdf"
    click NA "https://github.com/swastidesisascendeducare/DESIS-Ascend-Educare-Assignments/blob/main/Assignment 3/NormalizationAnalysis.pdf"

    %% Styling
    classDef cpp fill:#a2d2ff,stroke:#333,stroke-width:2px
    classDef doc fill:#f5cac3,stroke:#333,stroke-width:2px
    classDef db fill:#95d5b2,stroke:#333,stroke-width:2px
    classDef sql fill:#b7e4c7,stroke:#333,stroke-width:2px

    %% Legend
    subgraph Legend
        L1["C++ Implementation"]:::cpp
        L2["Documentation"]:::doc
        L3["Database Schema"]:::db
        L4["SQL Query"]:::sql
    end
```
