# ticketpong/front architecture

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

- Interactive diagram: https://gitdiagram.com/ticketpong/front
- Repository: https://github.com/ticketpong/front

## Overview

##### Main Components

A. Core Layers (Top to Bottom):
- User Interface Layer
- Feature Components Layer
- Base Components Layer
- API Integration Layer

B. Key Functional Modules:
1. User Management Module
2. Ticketing Module
3. Performance Management Module
4. Community Module
5. Search Module

A. Main Layout:
**[User Interface Layer]**
- ↓
**[Feature Components Layer]**
- ↓
**[Base Components Layer]**
- ↓
**[Integration Layer]**

- Component types
- Connection types

##### Additional Elements

- Notes for key architectural decisions
- Version information
- Critical user flows
- Security boundaries
- Responsive design considerations

##### Technical Stack Indicators

- React Components
- Styling approach (CSS/Styled Components)
- External libraries (Axios, etc.)
- Integration

## Diagram (Mermaid)

```mermaid
graph TB
    %% Styles
    classDef uiLayer fill:#e1f5fe,stroke:#01579b
    classDef featureLayer fill:#e8f5e9,stroke:#1b5e20
    classDef baseLayer fill:#fff3e0,stroke:#e65100
    classDef integrationLayer fill:#f3e5f5,stroke:#4a148c
    
    %% UI Layer
    subgraph UI
        HomePage["HomePage"]:::uiLayer
        TicketingPage["TicketingPage"]:::uiLayer
        CommunityPage["CommunityPage"]:::uiLayer
        MyPage["MyPage"]:::uiLayer
        ManagePage["ManagePage"]:::uiLayer
        SearchResult["SearchResult"]:::uiLayer
        LoginPage["LoginPage"]:::uiLayer
        SignupPage["SignupPage"]:::uiLayer
    end
    
    %% Feature Components Layer
    subgraph Features
        %% Ticketing Flow
        TicketingHeader["TicketingHeader"]:::featureLayer
        TicketingCalendar["TicketingCalendar"]:::featureLayer
        ShowSchedule["ShowSchedule"]:::featureLayer
        TicketingSelectSeat["TicketingSelectSeat"]:::featureLayer
        TicketingPayment["TicketingPayment"]:::featureLayer
        
        %% User Features
        EditProfile["EditProfile"]:::featureLayer
        BookingDetail["BookingDetail"]:::featureLayer
        
        %% Performance Management
        PerformanceReg["PerformanceReg"]:::featureLayer
        PerformanceManage["PerformanceManage"]:::featureLayer
        PerformanceChg["PerformanceChg"]:::featureLayer
        
        %% Community
        CommunityBoard["CommunityBoard"]:::featureLayer
        CommuReview["CommuReview"]:::featureLayer
        ReviewDetail["ReviewDetail"]:::featureLayer
        
        %% Navigation
        NavMenu["NavMenu"]:::featureLayer
        UserMenu["UserMenu"]:::featureLayer
    end
    
    %% Base Components Layer
    subgraph Base
        Header["Header"]:::baseLayer
        Footer["Footer"]:::baseLayer
        SearchBar["SearchBar"]:::baseLayer
        KakaoMap["KakaoMap"]:::baseLayer
        WriteReview["WriteReview"]:::baseLayer
    end
    
    %% Integration Layer
    subgraph Integration
        ApiDataFetcher["ApiDataFetcher"]:::integrationLayer
        axiosWithAuth["axiosWithAuth"]:::integrationLayer
    end
    
    %% Relationships
    HomePage --> Header
    Header --> NavMenu
    Header --> UserMenu
    Header --> SearchBar
    
    TicketingPage --> TicketingHeader
    TicketingHeader --> TicketingCalendar
    TicketingCalendar --> ShowSchedule
    ShowSchedule --> TicketingSelectSeat
    TicketingSelectSeat --> TicketingPayment
    
    MyPage --> EditProfile
    MyPage --> BookingDetail
    
    ManagePage --> PerformanceReg
    ManagePage --> PerformanceManage
    ManagePage --> PerformanceChg
    
    CommunityPage --> CommunityBoard
    CommunityBoard --> CommuReview
    CommuReview --> ReviewDetail
    CommuReview --> WriteReview
    
    %% Integration connections
    ApiDataFetcher --> axiosWithAuth
    
    %% Click events
    click HomePage "https://github.com/Ticketpong/front/tree/main/src/pages"
    click TicketingHeader "https://github.com/Ticketpong/front/blob/main/src/components/features/Ticketing/TicketingHeader.js"
    click TicketingCalendar "https://github.com/Ticketpong/front/blob/main/src/components/features/Ticketing/TicketingCalendar.js"
    click ShowSchedule "https://github.com/Ticketpong/front/blob/main/src/components/features/Ticketing/ShowSchedule.js"
    click TicketingSelectSeat "https://github.com/Ticketpong/front/blob/main/src/components/features/Ticketing/TicketingSelectSeat.js"
    click TicketingPayment "https://github.com/Ticketpong/front/blob/main/src/components/features/Ticketing/TicketingPayment.js"
    click EditProfile "https://github.com/Ticketpong/front/blob/main/src/components/features/MyPage/EditProfile.js"
    click BookingDetail "https://github.com/Ticketpong/front/blob/main/src/components/features/MyPage/BookingDetail.js"
    click PerformanceReg "https://github.com/Ticketpong/front/blob/main/src/components/features/ManagePage/PerformanceReg.js"
    click PerformanceManage "https://github.com/Ticketpong/front/blob/main/src/components/features/ManagePage/PerformanceManage.js"
    click PerformanceChg "https://github.com/Ticketpong/front/blob/main/src/components/features/ManagePage/PerformanceChg.js"
    click CommunityBoard "https://github.com/Ticketpong/front/blob/main/src/components/features/Community/CommunityBoard.js"
    click CommuReview "https://github.com/Ticketpong/front/blob/main/src/components/features/Community/CommuReview.js"
    click ReviewDetail "https://github.com/Ticketpong/front/blob/main/src/components/features/Community/ReviewDetail.js"
    click Header "https://github.com/Ticketpong/front/blob/main/src/components/base/Header.js"
    click Footer "https://github.com/Ticketpong/front/blob/main/src/components/base/Footer.js"
    click SearchBar "https://github.com/Ticketpong/front/blob/main/src/components/base/SearchBar.js"
    click KakaoMap "https://github.com/Ticketpong/front/blob/main/src/components/base/KakaoMap.js"
    click WriteReview "https://github.com/Ticketpong/front/blob/main/src/components/base/WriteReview.js"
    click ApiDataFetcher "https://github.com/Ticketpong/front/blob/main/src/components/base/ApiDataFetcher.js"
    click axiosWithAuth "https://github.com/Ticketpong/front/blob/main/src/components/base/axiosWithAuth.js"
    click NavMenu "https://github.com/Ticketpong/front/blob/main/src/components/features/Header/NavMenu.js"
    click UserMenu "https://github.com/Ticketpong/front/blob/main/src/components/features/Header/UserMenu.js"
    click LoginPage "https://github.com/Ticketpong/front/blob/main/src/pages/manageuser/LoginPage.js"
    click SignupPage "https://github.com/Ticketpong/front/blob/main/src/pages/manageuser/SignupPage.js"
```
