How team4-campick/campick-client works
CAMPICK is a camping community frontend for campsite discovery and reviews, camping-content sharing, used-gear trading, and member features. The main flow is visitor navigation through the routed app into a feature page, where users browse or submit content; authenticated members also manage account benefits and chat. The graph preserves the README’s major feature areas. Several page implementations are unsampled, so their internal calls are omitted; the edges shown are limited to routes, excerpted calls, and documented capabilities.
Main entry points: App.js React app routes · MyPage.jsx Member account · SiteDetail.jsx Campsite detail · Mainpage.jsx Home dashboard
Components 26
Application shell
- React app routes
src/App.js - Navigation header
src/components/HeaderFooter/Header.jsx - Site footer
src/components/HeaderFooter/Footer.jsx
Camping discovery
- Home dashboard
src/pages/Mainpage.jsx - Campsite search
src/pages/Campsite/Campsite.jsx - Campsite detail
src/pages/Campsite/SiteDetail.jsx - Review display
src/components/Campsite/ReviewCard.jsx - Review authoring
src/components/Campsite/ReviewCreateModal.jsx
Community content
- Blog pages
src/pages/Contents - Blog editor
src/pages/Contents/BlogPostEdit.jsx - Camping videos
src/pages/Contents/ContentsVideo.jsx - Event listings
src/pages/Event/Event.jsx
Gear marketplace
- Sale listings
src/pages/Market/Market.jsx - Sale detail
src/pages/Market/SaleDetail.jsx - Sale authoring
src/pages/Market/SalePostWrite.jsx - Buyer-seller chat
src/pages/Market/Chat.jsx - Socket connection
src/context/SocketContext.jsx
Member services
- Sign-in and registration
src/pages/LoginPage.jsx - Member account
src/pages/MyPage/MyPage.jsx - Bingo rewards
src/pages/MyPage/Bingo.jsx - Posts and transactions
src/pages/MyPage/MyPost.jsx - Inquiry and withdrawal
src/pages/MyPage/CustomerService.jsx
Other components
- Visitor
- CAMPICK server
- Public campsite API
- Socket.IO service
Connections 27
- Visitor → React app routes: opens
README.md - React app routes → Navigation header: renders
src/App.js - React app routes → Site footer: renders
src/App.js - React app routes → Home dashboard: routes to
src/App.js - React app routes → Campsite search: routes to
src/App.js - React app routes → Campsite detail: routes to
src/App.js - Campsite detail → Review display: renders
src/pages/Campsite/SiteDetail.jsx - Campsite detail → Review authoring: opens
src/pages/Campsite/SiteDetail.jsx - Review authoring → CAMPICK server: submits review
src/components/Campsite/ReviewCreateModal.jsx - React app routes → Blog pages: routes to
src/App.js - React app routes → Blog editor: routes to
src/App.js - Home dashboard → CAMPICK server: fetches latest posts
src/pages/Mainpage.jsx - React app routes → Camping videos: routes to
src/App.js - React app routes → Event listings: routes to
src/App.js - React app routes → Sale listings: routes to
src/App.js - React app routes → Sale detail: routes to
src/App.js - React app routes → Sale authoring: routes to
src/App.js - Sale authoring → CAMPICK server: submits listing
- React app routes → Buyer-seller chat: routes to
src/App.js - Socket connection → Socket.IO service: connects
src/context/SocketContext.jsx - React app routes → Sign-in and registration: routes to
src/App.js - React app routes → Member account: routes to
src/App.js - Member account → Bingo rewards: offers
src/App.js - Member account → Posts and transactions: offers
src/App.js - Member account → Inquiry and withdrawal: offers
src/App.js - Inquiry and withdrawal → CAMPICK server: sends inquiry
src/pages/MyPage/CustomerService.jsx - Campsite search → Public campsite API: searches
README.md