# ojm6135/waggle-was architecture

> Architecture diagram of the GitHub repository ojm6135/waggle-was, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ojm6135/waggle-was
- Repository: https://github.com/ojm6135/waggle-was

## Overview

Waggle is a school-verified team-matching community for Daegu–Gyeongbuk university students. Its documented user journey spans finding or creating a recruitment post, applying, forming and managing a team, and sharing collaboration reviews. The Java tree also includes authentication, user profiles, bookmarks, and notifications. The graph combines documented product capabilities with the sampled review and team-member service behavior; most domain implementations were not excerpted, so their internal calls are not inferred.

Main entry points: [`src/main/java/com/wagglex2/waggle/domain/review`](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/review) (Collaboration reviews), [`src/main/java/com/wagglex2/waggle/domain/common`](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/common) (Recruitment posts), [`src/main/java/com/wagglex2/waggle/domain/auth`](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/auth) (Authentication), [`src/main/java/com/wagglex2/waggle/domain/team_member`](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/team_member) (Team membership)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and profiles"]
  node_auth["Authentication"]
  node_user[("User profiles")]
  node_security["JWT security"]
end

subgraph group_matching["Recruitment and applications"]
  node_recruitment[("Recruitment posts")]
  node_projects["Project posts"]
  node_assignments["Assignment posts"]
  node_studies["Study posts"]
  node_applications[("Applications")]
end

subgraph group_teams["Teams and reviews"]
  node_teams[("Team management")]
  node_members[("Team membership")]
  node_reviews[("Collaboration reviews")]
end

subgraph group_engagement["Community features"]
  node_bookmarks[("Bookmarks")]
  node_notifications[("Notifications")]
  node_s3[("AWS S3")]
  node_s3service["Image storage"]
end

node_student(("Student"))

node_student -->|"authenticates"| node_auth
node_student -->|"finds or posts"| node_recruitment
node_student -->|"applies"| node_applications
node_student -->|"manages team"| node_teams
node_student -->|"shares review"| node_reviews
node_student -->|"manages profile"| node_user
node_auth -.->|"issues tokens"| node_security
node_projects -.->|"uses shared model"| node_recruitment
node_assignments -.->|"uses shared model"| node_recruitment
node_studies -.->|"uses shared model"| node_recruitment
node_members -->|"creates from accepted"| node_applications
node_reviews -->|"checks team"| node_teams
node_reviews -->|"checks membership"| node_members
node_reviews -->|"loads participants"| node_user
node_s3service -.->|"stores images"| node_s3
node_student -.->|"saves posts"| node_bookmarks
node_student -.->|"views updates"| node_notifications

click node_auth "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/auth"
click node_user "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/user"
click node_security "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/common/security"
click node_recruitment "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/common"
click node_projects "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/project"
click node_assignments "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/assignment"
click node_studies "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/study"
click node_applications "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/application"
click node_teams "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/team"
click node_members "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/team_member"
click node_reviews "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/review"
click node_bookmarks "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/bookmark"
click node_notifications "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/notification"
click node_s3service "https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/common/service"

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_auth,node_user,node_security toneBlue
class node_recruitment,node_projects,node_assignments,node_studies,node_applications toneAmber
class node_teams,node_members,node_reviews toneMint
class node_bookmarks,node_notifications,node_s3,node_s3service toneRose
class node_student toneIndigo
```

## Components

### Identity and profiles

- [Authentication](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/auth): `src/main/java/com/wagglex2/waggle/domain/auth`
- [User profiles](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/user): `src/main/java/com/wagglex2/waggle/domain/user`
- [JWT security](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/common/security): `src/main/java/com/wagglex2/waggle/common/security`

### Recruitment and applications

- [Recruitment posts](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/common): `src/main/java/com/wagglex2/waggle/domain/common`
- [Project posts](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/project): `src/main/java/com/wagglex2/waggle/domain/project`
- [Assignment posts](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/assignment): `src/main/java/com/wagglex2/waggle/domain/assignment`
- [Study posts](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/study): `src/main/java/com/wagglex2/waggle/domain/study`
- [Applications](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/application): `src/main/java/com/wagglex2/waggle/domain/application`

### Teams and reviews

- [Team management](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/team): `src/main/java/com/wagglex2/waggle/domain/team`
- [Team membership](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/team_member): `src/main/java/com/wagglex2/waggle/domain/team_member`
- [Collaboration reviews](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/review): `src/main/java/com/wagglex2/waggle/domain/review`

### Community features

- [Bookmarks](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/bookmark): `src/main/java/com/wagglex2/waggle/domain/bookmark`
- [Notifications](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/domain/notification): `src/main/java/com/wagglex2/waggle/domain/notification`
- **AWS S3**
- [Image storage](https://github.com/ojm6135/waggle-was/tree/develop/src/main/java/com/wagglex2/waggle/common/service): `src/main/java/com/wagglex2/waggle/common/service`

### Other components

- **Student**

## Connections

- Student → Authentication: authenticates (evidence: `README.md`)
- Student → Recruitment posts: finds or posts (evidence: `README.md`)
- Student → Applications: applies (evidence: `README.md`)
- Student → Team management: manages team (evidence: `README.md`)
- Student → Collaboration reviews: shares review (evidence: `README.md`)
- Student → User profiles: manages profile (evidence: `README.md`)
- Authentication → JWT security: issues tokens (evidence: `src/main/java/com/wagglex2/waggle/domain/auth/service/serviceImpl/AuthServiceImpl.java`)
- Project posts → Recruitment posts: uses shared model (evidence: `src/main/java/com/wagglex2/waggle/domain/project/service/ProjectService.java`)
- Assignment posts → Recruitment posts: uses shared model (evidence: `src/main/java/com/wagglex2/waggle/domain/assignment/service/AssignmentService.java`)
- Study posts → Recruitment posts: uses shared model (evidence: `src/main/java/com/wagglex2/waggle/domain/study/service/StudyService.java`)
- Team membership → Applications: creates from accepted (evidence: `src/main/java/com/wagglex2/waggle/domain/team_member/service/TeamMemberService.java`)
- Collaboration reviews → Team management: checks team (evidence: `src/main/java/com/wagglex2/waggle/domain/review/service/serviceImpl/ReviewServiceImpl.java`)
- Collaboration reviews → Team membership: checks membership (evidence: `src/main/java/com/wagglex2/waggle/domain/review/service/serviceImpl/ReviewServiceImpl.java`)
- Collaboration reviews → User profiles: loads participants (evidence: `src/main/java/com/wagglex2/waggle/domain/review/service/serviceImpl/ReviewServiceImpl.java`)
- Image storage → AWS S3: stores images
- Student → Bookmarks: saves posts
- Student → Notifications: views updates
