How finditem/fi-fe works
찾아줘! is a map-centered lost-and-found community web app. Its main user workflow is to find nearby or searchable lost/found items, inspect details, and contact other users through real-time chat; public police Lost112 data broadens discovery. The app also provides account, community, notification, and PWA capabilities. The tree and README establish the product branches; sampled query hooks show how public-data listing reaches the shared query and Axios layers. Other implementation links are included only where the README documents the capability or the source index shows the relationship.
Main entry points: usePublicDataListQuery.ts Police data · (home)/page.tsx Map home · [postId]/page.tsx Real-time chat · useAppInfiniteQuery.ts Query layer
Components 18
Item discovery
- Map home
src/app/[locale]/(home)/page.tsx - Map and filters
src/app/[locale]/(home)/_components/MainNaverMap/MainNaverMap.tsx - Post search
src/api/fetch/post/api/useGetPosts.ts - Post details
src/api/fetch/post/api/useGetDetailPost.ts - Police data
src/app/[locale]/(route)/public-data/_hooks/usePublicDataListQuery/usePublicDataListQuery.ts
Community and contact
- Real-time chat
src/app/[locale]/(route)/chat/[postId]/page.tsx - Chat transport
src/api/fetch/chatRoom/api/useChatSocket.ts - Comments
src/api/fetch/comment/api/useGetPostsComments.ts
Accounts and alerts
- Authentication
src/api/fetch/auth/api/useApiEmailLogin.ts - User profiles
src/api/fetch/user/api/useGetUsersMe.ts - Live notifications
src/api/fetch/notification/api/useNotificationSSE.ts - Web push
src/api/fetch/webPush/api/usePostPushSubscribe.ts
App platform
- Query layer
src/api/_base/query/useAppInfiniteQuery.ts - HTTP clients
src/api/_base/axios/useAxios.ts - Recent searches
src/store/useMainRecentSearch/useMainRecentSearch.ts - PWA workers
public/sw.js
Other components
- User
- Public data service
Connections 17
- User → Map home: browses
README.md - Map home → Map and filters: shows map
README.md - User → Post search: searches items
README.md - User → Police data: browses public data
README.md - Police data → Public data service: fetches records
README.md - Police data → Query layer: uses infinite query
src/app/[locale]/(route)/public-data/_hooks/usePublicDataListQuery/usePublicDataListQuery.ts - Query layer → HTTP clients: gets HTTP client
src/api/_base/query/useAppInfiniteQuery.ts - User → Post details: views details
README.md - User → Real-time chat: starts conversation
README.md - Real-time chat → Chat transport: uses real-time transport
README.md - User → Comments: comments on posts
README.md - User → Authentication: signs in
README.md - User → User profiles: manages account
- User → Live notifications: receives alerts
README.md - User → Web push: enables push
- User → Recent searches: keeps search history
src/store/useMainRecentSearch/useMainRecentSearch.ts - User → PWA workers: uses installed app
README.md