# kruthikabreddy8073-rgb/jira-clone architecture

> Architecture diagram of the GitHub repository kruthikabreddy8073-rgb/jira-clone, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kruthikabreddy8073-rgb/jira-clone
- Repository: https://github.com/kruthikabreddy8073-rgb/jira-clone

## Overview

This repository is a Jira-style project and issue tracker with a Next.js client and a Spring backend. The user workflow spans account access, project and team setup, issue creation and board/backlog work, and issue details such as dependencies, attachments, and work logs. Profile/security, notifications, and realtime presence are distinct capabilities visible in the source tree. The excerpts support several client-side API calls and component relationships; backend wiring and many other client flows were not sampled, so those connections are omitted or marked unverified.

Main entry points: [`client/lib/Axiosinstance.ts`](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/Axiosinstance.ts) (HTTP client), [`server/src/main/java/com/example/jira/JiraApplication.java`](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/JiraApplication.java) (Spring application), [`client/components/IssueModel.tsx`](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/IssueModel.tsx) (Issue details), [`client/components/Sidebar.tsx`](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/Sidebar.tsx) (Navigation and projects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Client experience"]
  node_client_shell["App shell<br/>[ClientLayout.tsx]"]
  node_auth["Authentication state<br/>[AuthContext.tsx]"]
  node_login["Login<br/>[page.tsx]"]
  node_projects["Project workspace<br/>[page.tsx]"]
  node_project_setup["Project setup<br/>[page.tsx]"]
  node_create_project["Project creation<br/>[page.tsx]"]
  node_team["Team management<br/>[page.tsx]"]
  node_profile["Profile and security<br/>[page.tsx]"]
  node_sidebar["Navigation and projects<br/>[Sidebar.tsx]"]
  node_notifications["Notifications"]
  node_realtime_ui["Realtime status"]
  node_realtime_hook["Project realtime hook"]
  node_realtime_client["Realtime connection<br/>[realtime.ts]"]
  node_api_client["HTTP client<br/>[Axiosinstance.ts]"]
end

subgraph group_issue["Issue workflow"]
  node_board["Kanban board<br/>[KanbanBoard.tsx]"]
  node_backlog["Backlog<br/>[page.tsx]"]
  node_issue_detail["Issue details<br/>[IssueModel.tsx]"]
  node_issue_create["Issue creation"]
  node_issue_card["Issue cards<br/>[KanbanCard.tsx]"]
  node_issue_column["Board columns<br/>[KanbanColumn.tsx]"]
  node_attachments["Attachments"]
  node_dependencies["Subtasks and dependencies"]
  node_worklogs["Work logs<br/>[WorkLogPanel.tsx]"]
end

subgraph group_server["Backend services"]
  node_backend["Spring application"]
  node_security["Security configuration"]
  node_issue_api["Issue endpoints"]
  node_project_api["Project endpoints"]
  node_user_api["User endpoints"]
  node_attachment_api["Attachment endpoints"]
  node_notification_api["Notification endpoints"]
  node_sprint_api["Sprint endpoints"]
  node_worklog_api["Work log endpoints"]
  node_presence_api["Presence websocket"]
end

subgraph group_domain["Domain and persistence"]
end

node_user(("User"))

node_user -.->|"uses"| node_client_shell
node_client_shell -->|"checks session"| node_auth
node_client_shell -->|"renders"| node_sidebar
node_sidebar -->|"opens"| node_issue_create
node_sidebar -->|"renders"| node_notifications
node_board -->|"renders"| node_issue_column
node_board -->|"renders"| node_issue_card
node_board -->|"opens"| node_issue_detail
node_issue_column -->|"renders"| node_issue_card
node_issue_detail -->|"renders"| node_attachments
node_issue_detail -->|"renders"| node_dependencies
node_issue_detail -->|"renders"| node_worklogs
node_issue_detail -->|"updates issues"| node_api_client
node_worklogs -->|"requests work logs"| node_api_client
node_dependencies -->|"requests issue relations"| node_api_client
node_sidebar -->|"loads projects"| node_api_client
node_api_client -.->|"sends API requests"| node_issue_api
node_api_client -.->|"sends API requests"| node_worklog_api
node_api_client -.->|"sends API requests"| node_project_api
node_api_client -.->|"sends API requests"| node_attachment_api
node_api_client -.->|"sends API requests"| node_notification_api
node_realtime_hook -.->|"uses"| node_realtime_client
node_realtime_client -.->|"connects"| node_presence_api
node_realtime_ui -.->|"displays state"| node_realtime_hook
node_backend -.->|"configures"| node_security
node_issue_api -.->|"delegates"| node_backend
node_project_api -.->|"delegates"| node_backend
node_user_api -.->|"delegates"| node_backend
node_attachment_api -.->|"delegates"| node_backend
node_notification_api -.->|"delegates"| node_backend
node_sprint_api -.->|"delegates"| node_backend
node_worklog_api -.->|"delegates"| node_backend
node_presence_api -.->|"delegates"| node_backend

click node_client_shell "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/ClientLayout.tsx"
click node_auth "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/AuthContext.tsx"
click node_login "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/login/page.tsx"
click node_projects "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/projects/page.tsx"
click node_project_setup "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/setup-project/page.tsx"
click node_create_project "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/create-project/page.tsx"
click node_team "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/team/page.tsx"
click node_profile "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/profile/page.tsx"
click node_sidebar "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/Sidebar.tsx"
click node_board "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/KanbanBoard.tsx"
click node_backlog "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/backlog/page.tsx"
click node_issue_detail "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/IssueModel.tsx"
click node_issue_create "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/CreateIssuemodel.tsx"
click node_issue_card "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/KanbanCard.tsx"
click node_issue_column "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/KanbanColumn.tsx"
click node_attachments "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/AttachmentPanel.tsx"
click node_dependencies "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/SubtaskAndDependencyPanel.tsx"
click node_worklogs "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/WorkLogPanel.tsx"
click node_notifications "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/NotificationsBell.tsx"
click node_realtime_ui "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/RealtimeStatusBar.tsx"
click node_realtime_hook "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/hooks/useRealtimeProject.ts"
click node_realtime_client "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/realtime.ts"
click node_api_client "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/Axiosinstance.ts"
click node_backend "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/JiraApplication.java"
click node_security "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/config/SecurityConfig.java"
click node_issue_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/IssueController.java"
click node_project_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/Projectcontroller.java"
click node_user_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/Usercontroller.java"
click node_attachment_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/AttachmentController.java"
click node_notification_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/NotificationController.java"
click node_sprint_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/SprintController.java"
click node_worklog_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/WorkLogController.java"
click node_presence_api "https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/PresenceWebSocketController.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_client_shell,node_auth,node_login,node_projects,node_project_setup,node_create_project,node_team,node_profile,node_sidebar,node_notifications,node_realtime_ui,node_realtime_hook,node_realtime_client,node_api_client,node_user toneBlue
class node_board,node_backlog,node_issue_detail,node_issue_create,node_issue_card,node_issue_column,node_attachments,node_dependencies,node_worklogs toneAmber
class node_backend,node_security,node_issue_api,node_project_api,node_user_api,node_attachment_api,node_notification_api,node_sprint_api,node_worklog_api,node_presence_api toneMint
```

## Components

### Client experience

- [App shell](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/ClientLayout.tsx): `client/components/ClientLayout.tsx`
- [Authentication state](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/AuthContext.tsx): `client/lib/AuthContext.tsx`
- [Login](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/login/page.tsx): `client/app/login/page.tsx`
- [Project workspace](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/projects/page.tsx): `client/app/projects/page.tsx`
- [Project setup](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/setup-project/page.tsx): `client/app/setup-project/page.tsx`
- [Project creation](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/create-project/page.tsx): `client/app/create-project/page.tsx`
- [Team management](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/team/page.tsx): `client/app/team/page.tsx`
- [Profile and security](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/profile/page.tsx): `client/app/profile/page.tsx`
- [Navigation and projects](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/Sidebar.tsx): `client/components/Sidebar.tsx`
- [Notifications](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/NotificationsBell.tsx): `client/components/NotificationsBell.tsx`
- [Realtime status](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/RealtimeStatusBar.tsx): `client/components/RealtimeStatusBar.tsx`
- [Project realtime hook](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/hooks/useRealtimeProject.ts): `client/hooks/useRealtimeProject.ts`
- [Realtime connection](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/realtime.ts): `client/lib/realtime.ts`
- [HTTP client](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/lib/Axiosinstance.ts): `client/lib/Axiosinstance.ts`

### Issue workflow

- [Kanban board](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/KanbanBoard.tsx): `client/components/KanbanBoard.tsx`
- [Backlog](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/app/backlog/page.tsx): `client/app/backlog/page.tsx`
- [Issue details](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/IssueModel.tsx): `client/components/IssueModel.tsx`
- [Issue creation](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/CreateIssuemodel.tsx): `client/components/CreateIssuemodel.tsx`
- [Issue cards](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/KanbanCard.tsx): `client/components/KanbanCard.tsx`
- [Board columns](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/KanbanColumn.tsx): `client/components/KanbanColumn.tsx`
- [Attachments](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/AttachmentPanel.tsx): `client/components/AttachmentPanel.tsx`
- [Subtasks and dependencies](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/SubtaskAndDependencyPanel.tsx): `client/components/SubtaskAndDependencyPanel.tsx`
- [Work logs](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/client/components/WorkLogPanel.tsx): `client/components/WorkLogPanel.tsx`

### Backend services

- [Spring application](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/JiraApplication.java): `server/src/main/java/com/example/jira/JiraApplication.java`
- [Security configuration](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/config/SecurityConfig.java): `server/src/main/java/com/example/jira/config/SecurityConfig.java`
- [Issue endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/IssueController.java): `server/src/main/java/com/example/jira/controller/IssueController.java`
- [Project endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/Projectcontroller.java): `server/src/main/java/com/example/jira/controller/Projectcontroller.java`
- [User endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/Usercontroller.java): `server/src/main/java/com/example/jira/controller/Usercontroller.java`
- [Attachment endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/AttachmentController.java): `server/src/main/java/com/example/jira/controller/AttachmentController.java`
- [Notification endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/NotificationController.java): `server/src/main/java/com/example/jira/controller/NotificationController.java`
- [Sprint endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/SprintController.java): `server/src/main/java/com/example/jira/controller/SprintController.java`
- [Work log endpoints](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/WorkLogController.java): `server/src/main/java/com/example/jira/controller/WorkLogController.java`
- [Presence websocket](https://github.com/kruthikabreddy8073-rgb/jira-clone/blob/main/server/src/main/java/com/example/jira/controller/PresenceWebSocketController.java): `server/src/main/java/com/example/jira/controller/PresenceWebSocketController.java`

### Other components

- **User**

## Connections

- User → App shell: uses · Inferred; not shown in the code that was read.
- App shell → Authentication state: checks session (evidence: `client/components/ClientLayout.tsx`)
- App shell → Navigation and projects: renders (evidence: `client/components/ClientLayout.tsx`)
- Navigation and projects → Issue creation: opens (evidence: `client/components/Sidebar.tsx`)
- Navigation and projects → Notifications: renders (evidence: `client/components/Sidebar.tsx`)
- Kanban board → Board columns: renders (evidence: `client/components/KanbanBoard.tsx`)
- Kanban board → Issue cards: renders (evidence: `client/components/KanbanBoard.tsx`)
- Kanban board → Issue details: opens (evidence: `client/components/KanbanBoard.tsx`)
- Board columns → Issue cards: renders (evidence: `client/components/KanbanColumn.tsx`)
- Issue details → Attachments: renders (evidence: `client/components/IssueModel.tsx`)
- Issue details → Subtasks and dependencies: renders (evidence: `client/components/IssueModel.tsx`)
- Issue details → Work logs: renders (evidence: `client/components/IssueModel.tsx`)
- Issue details → HTTP client: updates issues (evidence: `client/components/IssueModel.tsx`)
- Work logs → HTTP client: requests work logs (evidence: `client/components/WorkLogPanel.tsx`)
- Subtasks and dependencies → HTTP client: requests issue relations (evidence: `client/components/SubtaskAndDependencyPanel.tsx`)
- Navigation and projects → HTTP client: loads projects (evidence: `client/components/Sidebar.tsx`)
- HTTP client → Issue endpoints: sends API requests · Inferred; not shown in the code that was read.
- HTTP client → Work log endpoints: sends API requests · Inferred; not shown in the code that was read.
- HTTP client → Project endpoints: sends API requests · Inferred; not shown in the code that was read.
- HTTP client → Attachment endpoints: sends API requests · Inferred; not shown in the code that was read.
- HTTP client → Notification endpoints: sends API requests · Inferred; not shown in the code that was read.
- Project realtime hook → Realtime connection: uses · Inferred; not shown in the code that was read.
- Realtime connection → Presence websocket: connects · Inferred; not shown in the code that was read.
- Realtime status → Project realtime hook: displays state · Inferred; not shown in the code that was read.
- Spring application → Security configuration: configures · Inferred; not shown in the code that was read.
- Issue endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- Project endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- User endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- Attachment endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- Notification endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- Sprint endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- Work log endpoints → Spring application: delegates · Inferred; not shown in the code that was read.
- Presence websocket → Spring application: delegates · Inferred; not shown in the code that was read.
