# wjadebead/stickareer architecture

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

- Interactive diagram: https://gitdiagram.com/wjadebead/stickareer
- Repository: https://github.com/wjadebead/stickareer

## Overview

1. This is a Create React App single-page application, not a multi-service backend system. The architecture is primarily client-side: React components, client-side routing, and static JSON-based data sources. The app is intended to be deployed as a static SPA, with `public/_redirects` indicating route fallback support.

2. The entry path is the usual CRA shell: `src/index.js` mounts `src/App.js`, which then composes the route structure and top-level app layout. Global styling is split between `src/index.css`, Tailwind (`tailwind.config.js`), and PostCSS (`postcss.config.js`).

3. The UI shell is organized around reusable layouts in `src/components/AuthLayouts` and common chrome in `src/components/Navbar`. This suggests two major presentation boundaries: authenticated/private flows and public/auth flows. `DarkModeButton.jsx` indicates theme state is handled at the UI layer rather than by a backend service.

4. Feature pages live under `src/pages`, with clear domain separation: `Main`, `Login`, `Community`, `Hashtag`, `Information`, `Mypage`, `Resumes`, and `ErrorPage`. Each folder is mostly self-contained, with its own page entry component and feature-specific subcomponents.

5. The application appears to be data-driven but front-end-only. Domain data is stored in `public/data/.../*.json` and mirrored by dummy service modules in `src/api/...`. This includes community posts, hashtag content, home page box data, information content, and mypage personal data.

6. The “API” layer is not a real network integration in the current repo. Files like `src/api/HomePage/BoxDataService.js` and the various `*Dummy.js` modules act as local data providers/adapters, likely returning mocked or imported JSON data to page components. That makes the main boundary one of “UI consuming local mock services,” not “UI calling a remote backend.”

7. State management is centralized in `src/stores`, with separate modules for login/auth and user data. `src/stores/Login/auth.js` and `src/stores/user.js` likely hold session-like and profile-like state that multiple feature areas consume, especially login, mypage, and any authenticated routes.

8. Community is one of the richer feature areas. It includes list and detail flows (`Community/index.jsx`, `PostPage.jsx`), a create flow (`NewPost.jsx`), and loading placeholders (`postLoading.jsx`). That implies a standard content lifecycle: fetch/mock load posts, render summaries, navigate to detail, and create new content.

9. Mypage is a nested subsystem with both dashboard-like cards and deeper subflows. Cards such as `BookmarkCard`, `InterestCard`, `NotificationCard`, `PersonalCard`, and `PointCard` make it a user-profile hub, while `JoinPage`, `PersonalPage`, and `WithdrawalPage` represent onboarding/profile-maintenance/account-closure flows.

10. Hashtag and Information are content presentation modules with lightweight structure. Hashtag has a card/grid pattern plus loading state, while Information has a simpler info display component. These are likely fed from local JSON content and rendered read-only.

11. Login is isolated under `src/pages/Login` and includes a `KakaoLogin.jsx` component, which is the only clearly identifiable external-auth touchpoint in the tree. That means authentication is probably a Kakao-based sign-in flow with local app state captured afterward in the auth/user stores.

12. Resumes is another standalone feature area (`CreateResumes.jsx` and page index), likely a form or editor flow. Together with Mypage and Login, it suggests the app supports user-centric workflows beyond content browsing, but still within the front-end boundary.

13. Supporting files show this is a standard React/PWA-ready static app: `public/manifest.json`, `public/robots.txt`, `src/reportWebVitals.js`, and `src/setupTests.js`. `Dockerfile` indicates containerized deployment is supported, but there is no evidence of server-side business logic in this repository.

Main entry points: [`src/App.js`](https://github.com/wjadebead/stickareer/blob/master/src/App.js) (App), [`src/pages/Mypage/index.jsx`](https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/index.jsx) (Mypage), [`src/pages/Community/index.jsx`](https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/index.jsx) (Community), [`src/pages/Login/index.jsx`](https://github.com/wjadebead/stickareer/blob/master/src/pages/Login/index.jsx) (Login)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["App shell"]
  node_src_index_js["Entry<br/>[index.js]"]
  node_src_app_js["App<br/>router shell<br/>[App.js]"]
  node_auth_layout["Auth layout<br/>[AuthLayout.jsx]"]
  node_public_layout["Public layout<br/>[PublicLayout.jsx]"]
  node_navbar["Navbar<br/>chrome<br/>[Navbar.jsx]"]
  node_dark_mode(("Theme button<br/>ui control<br/>[DarkModeButton.jsx]"))
end

subgraph group_features["Feature areas"]
  node_main_page["Main<br/>home page<br/>[index.jsx]"]
  node_login_page["Login<br/>auth page<br/>[index.jsx]"]
  node_kakao_login["Kakao login<br/>oauth flow<br/>[KakaoLogin.jsx]"]
  node_community_page["Community<br/>content page<br/>[index.jsx]"]
  node_post_page["Post detail<br/>community view<br/>[PostPage.jsx]"]
  node_new_post["New post<br/>community editor<br/>[NewPost.jsx]"]
  node_hashtag_page["Hashtag<br/>content page<br/>[index.jsx]"]
  node_information_page["Information<br/>info page<br/>[index.jsx]"]
  node_mypage["Mypage<br/>profile hub<br/>[index.jsx]"]
  node_join_page["Join page<br/>profile setup<br/>[index.jsx]"]
  node_personal_page["Personal page<br/>profile edit<br/>[index.jsx]"]
  node_withdrawal_page["Withdrawal<br/>account closure<br/>[index.jsx]"]
  node_resumes_page["Resumes<br/>resume editor<br/>[index.jsx]"]
  node_error_page["Error page<br/>fallback page<br/>[ErrorPage.jsx]"]
end

subgraph group_data["Data and state"]
  node_community_dummy["Community data<br/>local data<br/>[communityDummy.js]"]
  node_post_dummy["Post data<br/>local data<br/>[postDummy.js]"]
  node_hashtag_dummy["Hashtag data<br/>local data<br/>[hashtagDummy.js]"]
  node_box_service["Box data<br/>data service<br/>[BoxDataService.js]"]
  node_information_dummy["Info data<br/>local data"]
  node_mypage_dummy["Profile data<br/>local data"]
  node_auth_store["Auth store<br/>state store<br/>[auth.js]"]
  node_user_store["User store<br/>state store<br/>[user.js]"]
end

subgraph group_static["Static app"]
  node_public_redirects["Redirects<br/>deploy config"]
  node_manifest["Manifest<br/>pwa config<br/>[manifest.json]"]
  node_index_css["Global CSS<br/>styles<br/>[index.css]"]
  node_tailwind_config["Tailwind<br/>style config<br/>[tailwind.config.js]"]
  node_postcss_config["PostCSS<br/>style config<br/>[postcss.config.js]"]
end

node_src_index_js -->|"mounts"| node_src_app_js
node_src_app_js -->|"uses"| node_auth_layout
node_src_app_js -->|"uses"| node_public_layout
node_src_app_js -->|"renders"| node_navbar
node_navbar -->|"contains"| node_dark_mode
node_src_app_js -->|"routes to"| node_main_page
node_src_app_js -->|"routes to"| node_login_page
node_src_app_js -->|"routes to"| node_community_page
node_src_app_js -->|"routes to"| node_hashtag_page
node_src_app_js -->|"routes to"| node_information_page
node_src_app_js -->|"routes to"| node_mypage
node_src_app_js -->|"routes to"| node_resumes_page
node_src_app_js -->|"fallbacks to"| node_error_page
node_login_page -->|"uses"| node_kakao_login
node_login_page -->|"updates"| node_auth_store
node_login_page -->|"updates"| node_user_store
node_main_page -->|"loads"| node_box_service
node_community_page -->|"loads"| node_community_dummy
node_community_page -->|"loads"| node_post_dummy
node_community_page -->|"navigates"| node_post_page
node_community_page -->|"navigates"| node_new_post
node_hashtag_page -->|"loads"| node_hashtag_dummy
node_information_page -->|"loads"| node_information_dummy
node_mypage -->|"loads"| node_mypage_dummy
node_mypage -->|"reads"| node_user_store
node_mypage -->|"navigates"| node_join_page
node_mypage -->|"navigates"| node_personal_page
node_mypage -->|"navigates"| node_withdrawal_page
node_auth_layout -->|"depends on"| node_auth_store
node_public_layout -->|"depends on"| node_auth_store
node_src_app_js -->|"styles"| node_index_css
node_src_app_js -.->|"styled by"| node_tailwind_config
node_src_app_js -.->|"processed by"| node_postcss_config
node_src_app_js -.->|"deploys with"| node_public_redirects
node_src_app_js -.->|"deploys with"| node_manifest

click node_src_index_js "https://github.com/wjadebead/stickareer/blob/master/src/index.js"
click node_src_app_js "https://github.com/wjadebead/stickareer/blob/master/src/App.js"
click node_auth_layout "https://github.com/wjadebead/stickareer/blob/master/src/components/AuthLayouts/AuthLayout.jsx"
click node_public_layout "https://github.com/wjadebead/stickareer/blob/master/src/components/AuthLayouts/PublicLayout.jsx"
click node_navbar "https://github.com/wjadebead/stickareer/blob/master/src/components/Navbar/Navbar.jsx"
click node_dark_mode "https://github.com/wjadebead/stickareer/blob/master/src/components/Navbar/DarkModeButton.jsx"
click node_main_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Main/index.jsx"
click node_login_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Login/index.jsx"
click node_kakao_login "https://github.com/wjadebead/stickareer/blob/master/src/pages/Login/KakaoLogin.jsx"
click node_community_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/index.jsx"
click node_post_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/PostPage.jsx"
click node_new_post "https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/NewPost.jsx"
click node_hashtag_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Hashtag/index.jsx"
click node_information_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Information/index.jsx"
click node_mypage "https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/index.jsx"
click node_join_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/pages/JoinPage/index.jsx"
click node_personal_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/pages/PersonalPage/index.jsx"
click node_withdrawal_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/pages/WithdrawalPage/index.jsx"
click node_resumes_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/Resumes/index.jsx"
click node_error_page "https://github.com/wjadebead/stickareer/blob/master/src/pages/ErrorPage.jsx"
click node_community_dummy "https://github.com/wjadebead/stickareer/blob/master/src/api/Community/communityDummy.js"
click node_post_dummy "https://github.com/wjadebead/stickareer/blob/master/src/api/Community/postDummy.js"
click node_hashtag_dummy "https://github.com/wjadebead/stickareer/blob/master/src/api/Hashtag/hashtagDummy.js"
click node_box_service "https://github.com/wjadebead/stickareer/blob/master/src/api/HomePage/BoxDataService.js"
click node_information_dummy "https://github.com/wjadebead/stickareer/blob/master/src/api/Information/informationDummy.js"
click node_mypage_dummy "https://github.com/wjadebead/stickareer/blob/master/src/api/Mypage/personalDataDummy.js"
click node_auth_store "https://github.com/wjadebead/stickareer/blob/master/src/stores/Login/auth.js"
click node_user_store "https://github.com/wjadebead/stickareer/blob/master/src/stores/user.js"
click node_public_redirects "https://github.com/wjadebead/stickareer/tree/master/public/_redirects"
click node_manifest "https://github.com/wjadebead/stickareer/blob/master/public/manifest.json"
click node_index_css "https://github.com/wjadebead/stickareer/blob/master/src/index.css"
click node_tailwind_config "https://github.com/wjadebead/stickareer/blob/master/tailwind.config.js"
click node_postcss_config "https://github.com/wjadebead/stickareer/blob/master/postcss.config.js"

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_src_index_js,node_src_app_js,node_auth_layout,node_public_layout,node_navbar,node_dark_mode toneBlue
class node_main_page,node_login_page,node_kakao_login,node_community_page,node_post_page,node_new_post,node_hashtag_page,node_information_page,node_mypage,node_join_page,node_personal_page,node_withdrawal_page,node_resumes_page,node_error_page toneAmber
class node_community_dummy,node_post_dummy,node_hashtag_dummy,node_box_service,node_information_dummy,node_mypage_dummy,node_auth_store,node_user_store toneMint
class node_public_redirects,node_manifest,node_index_css,node_tailwind_config,node_postcss_config toneRose
```

## Components

### App shell

CRA entrypoint, router, layouts, and shared chrome.

- [Entry](https://github.com/wjadebead/stickareer/blob/master/src/index.js): react entry · Bootstraps the React app and mounts the root tree. · `src/index.js`
- [App](https://github.com/wjadebead/stickareer/blob/master/src/App.js): router shell · Top-level composition for routes and app layout. · `src/App.js`
- [Auth layout](https://github.com/wjadebead/stickareer/blob/master/src/components/AuthLayouts/AuthLayout.jsx): layout · Authenticated/private flow wrapper. · `src/components/AuthLayouts/AuthLayout.jsx`
- [Public layout](https://github.com/wjadebead/stickareer/blob/master/src/components/AuthLayouts/PublicLayout.jsx): layout · Public/auth flow wrapper. · `src/components/AuthLayouts/PublicLayout.jsx`
- [Navbar](https://github.com/wjadebead/stickareer/blob/master/src/components/Navbar/Navbar.jsx): chrome · Shared top-level navigation chrome. · `src/components/Navbar/Navbar.jsx`
- [Theme button](https://github.com/wjadebead/stickareer/blob/master/src/components/Navbar/DarkModeButton.jsx): ui control · Client-side dark mode toggle. · `src/components/Navbar/DarkModeButton.jsx`

### Feature areas

Route-level pages and their main subflows.

- [Main](https://github.com/wjadebead/stickareer/blob/master/src/pages/Main/index.jsx): home page · Primary landing page and home content. · `src/pages/Main/index.jsx`
- [Login](https://github.com/wjadebead/stickareer/blob/master/src/pages/Login/index.jsx): auth page · Sign-in entry page for the app. · `src/pages/Login/index.jsx`
- [Kakao login](https://github.com/wjadebead/stickareer/blob/master/src/pages/Login/KakaoLogin.jsx): oauth flow · External sign-in touchpoint for Kakao authentication. · `src/pages/Login/KakaoLogin.jsx`
- [Community](https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/index.jsx): content page · Community feed and post lifecycle routes. · `src/pages/Community/index.jsx`
- [Post detail](https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/PostPage.jsx): community view · Detailed post reading flow. · `src/pages/Community/PostPage.jsx`
- [New post](https://github.com/wjadebead/stickareer/blob/master/src/pages/Community/NewPost.jsx): community editor · Create-post flow for community content. · `src/pages/Community/NewPost.jsx`
- [Hashtag](https://github.com/wjadebead/stickareer/blob/master/src/pages/Hashtag/index.jsx): content page · Hashtag browsing and card-based listing. · `src/pages/Hashtag/index.jsx`
- [Information](https://github.com/wjadebead/stickareer/blob/master/src/pages/Information/index.jsx): info page · Static informational content display. · `src/pages/Information/index.jsx`
- [Mypage](https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/index.jsx): profile hub · User dashboard and account center. · `src/pages/Mypage/index.jsx`
- [Join page](https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/pages/JoinPage/index.jsx): profile setup · Onboarding and interest selection flow. · `src/pages/Mypage/pages/JoinPage/index.jsx`
- [Personal page](https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/pages/PersonalPage/index.jsx): profile edit · Personal information maintenance flow. · `src/pages/Mypage/pages/PersonalPage/index.jsx`
- [Withdrawal](https://github.com/wjadebead/stickareer/blob/master/src/pages/Mypage/pages/WithdrawalPage/index.jsx): account closure · Account deletion or departure flow. · `src/pages/Mypage/pages/WithdrawalPage/index.jsx`
- [Resumes](https://github.com/wjadebead/stickareer/blob/master/src/pages/Resumes/index.jsx): resume editor · Resume creation and editing feature. · `src/pages/Resumes/index.jsx`
- [Error page](https://github.com/wjadebead/stickareer/blob/master/src/pages/ErrorPage.jsx): fallback page · Fallback route for missing or invalid paths. · `src/pages/ErrorPage.jsx`

### Data and state

Local mock services and centralized client state.

- [Community data](https://github.com/wjadebead/stickareer/blob/master/src/api/Community/communityDummy.js): local data · Mock/community data adapter backed by JSON. · `src/api/Community/communityDummy.js`
- [Post data](https://github.com/wjadebead/stickareer/blob/master/src/api/Community/postDummy.js): local data · Mock post adapter for community detail content. · `src/api/Community/postDummy.js`
- [Hashtag data](https://github.com/wjadebead/stickareer/blob/master/src/api/Hashtag/hashtagDummy.js): local data · Mock hashtag content adapter. · `src/api/Hashtag/hashtagDummy.js`
- [Box data](https://github.com/wjadebead/stickareer/blob/master/src/api/HomePage/BoxDataService.js): data service · Home page data provider for boxed content. · `src/api/HomePage/BoxDataService.js`
- [Info data](https://github.com/wjadebead/stickareer/blob/master/src/api/Information/informationDummy.js): local data · Mock information content adapter. · `src/api/Information/informationDummy.js`
- [Profile data](https://github.com/wjadebead/stickareer/blob/master/src/api/Mypage/personalDataDummy.js): local data · Mock personal/profile data adapter. · `src/api/Mypage/personalDataDummy.js`
- [Auth store](https://github.com/wjadebead/stickareer/blob/master/src/stores/Login/auth.js): state store · Client auth/session state shared across flows. · `src/stores/Login/auth.js`
- [User store](https://github.com/wjadebead/stickareer/blob/master/src/stores/user.js): state store · Shared user/profile state for account features. · `src/stores/user.js`

### Static app

Public assets and deployment support files.

- [Redirects](https://github.com/wjadebead/stickareer/tree/master/public/_redirects): deploy config · Static SPA route fallback support. · `public/_redirects`
- [Manifest](https://github.com/wjadebead/stickareer/blob/master/public/manifest.json): pwa config · App manifest for static/PWA deployment. · `public/manifest.json`
- [Global CSS](https://github.com/wjadebead/stickareer/blob/master/src/index.css): styles · Base application styling entry. · `src/index.css`
- [Tailwind](https://github.com/wjadebead/stickareer/blob/master/tailwind.config.js): style config · Utility styling configuration. · `tailwind.config.js`
- [PostCSS](https://github.com/wjadebead/stickareer/blob/master/postcss.config.js): style config · CSS processing pipeline configuration. · `postcss.config.js`

## Connections

- Entry → App: mounts · Bootstraps the application root.
- App → Auth layout: uses · Wraps private/authenticated routes.
- App → Public layout: uses · Wraps public routes.
- App → Navbar: renders · Includes shared navigation chrome.
- Navbar → Theme button: contains · Theme toggle lives in the navbar.
- App → Main: routes to · Main landing route.
- App → Login: routes to · Public authentication route.
- App → Community: routes to · Community route.
- App → Hashtag: routes to · Hashtag route.
- App → Information: routes to · Information route.
- App → Mypage: routes to · User profile hub route.
- App → Resumes: routes to · Resume feature route.
- App → Error page: fallbacks to · Catch-all invalid route page.
- Login → Kakao login: uses · Delegates sign-in to Kakao flow.
- Login → Auth store: updates · Stores authentication state after login.
- Login → User store: updates · Persists user identity/profile state.
- Main → Box data: loads · Consumes home-page mock data.
- Community → Community data: loads · Reads community feed data.
- Community → Post data: loads · Reads post detail/mock data.
- Community → Post detail: navigates · Opens selected post details.
- Community → New post: navigates · Opens post creation flow.
- Hashtag → Hashtag data: loads · Consumes hashtag content data.
- Information → Info data: loads · Consumes informational content data.
- Mypage → Profile data: loads · Consumes profile-related mock data.
- Mypage → User store: reads · Uses shared user profile state.
- Mypage → Join page: navigates · Entry into onboarding subflow.
- Mypage → Personal page: navigates · Entry into profile-edit subflow.
- Mypage → Withdrawal: navigates · Entry into account-closure subflow.
- Auth layout → Auth store: depends on · Private layout depends on auth state.
- Public layout → Auth store: depends on · Public layout reacts to auth state.
- App → Global CSS: styles · Imports global CSS entry.
- App → Tailwind: styled by · Relies on Tailwind utility setup.
- App → PostCSS: processed by · CSS build pipeline configuration.
- App → Redirects: deploys with · Supports SPA route fallback on static hosting.
- App → Manifest: deploys with · Static app manifest support.
