How ash1022004/zosper_job works
This is a job-listing application: job seekers browse and filter postings, inspect details, and apply through listing links; administrators manage listings and settings and view analytics. The frontend also provides login, feedback, and a CSV-based job refresh path. The graph reflects the shown page/store/API relationships and the documented module references; backend behavior and several UI interactions were not sampled, so uncertain links are omitted.
Main entry points: Index.tsx Browse and filter · App.tsx App and routing · api.ts API client · Admin.tsx Listing administration
Components 22
Application
- App and routing
src/App.tsx - UI primitives
src/components/ui
Job Listings
- Browse and filter
src/pages/Index.tsx - Job cards
src/components/JobCard.tsx - Job filters
src/components/JobFilters.tsx - Job details
src/components/JobDetailModal.tsx - Job state
src/store/jobsStore.ts - Job model
src/types/job.ts - Sample listings
src/data/mockJobs.ts - CSV refresh
src/lib/sources.ts - Listing administration
src/pages/Admin.tsx
Identity and Feedback
- Login pages
src/pages/Login.tsx - User login
src/pages/UserLogin.tsx - Auth state
src/store/authStore.ts - User state
src/store/userStore.ts - Feedback panel
src/components/FeedbackPanel.tsx
API and Server
- API client
src/lib/api.ts - Configured API
- Server routes
server/index.cjs - Server store
server/store.cjs
Other components
- Job seeker
- Administrator
Connections 29
- Job seeker → App and routing: opens
src/App.tsx - Administrator → App and routing: opens
src/App.tsx - App and routing → Browse and filter: routes to
src/App.tsx - App and routing → Listing administration: routes to
src/App.tsx - App and routing → Login pages: routes to
src/App.tsx - Browse and filter → Job state: loads listings
src/pages/Index.tsx - Browse and filter → CSV refresh: refreshes from
src/pages/Index.tsx - Browse and filter → Job filters: renders
src/pages/Index.tsx - Browse and filter → Job cards: renders
src/pages/Index.tsx - Browse and filter → Job details: opens details
src/pages/Index.tsx - Browse and filter → Job model: uses
src/pages/Index.tsx - Job state → Sample listings: falls back to
src/store/jobsStore.ts - Job state → Job model: uses
src/store/jobsStore.ts - CSV refresh → Job state: uses
src/lib/sources.ts - Listing administration → Job state: manages listings
src/pages/Admin.tsx - Listing administration → CSV refresh: uses
src/pages/Admin.tsx - Listing administration → API client: requests analytics
src/pages/Admin.tsx - Listing administration → Auth state: uses
src/pages/Admin.tsx - Job details → API client: uses
src/components/JobDetailModal.tsx - Job details → User state: uses
src/components/JobDetailModal.tsx - Login pages → API client: authenticates via
src/pages/Login.tsx - User login → API client: authenticates via
src/pages/UserLogin.tsx - User login → User state: updates
src/pages/UserLogin.tsx - Feedback panel → API client: submits feedback
src/components/FeedbackPanel.tsx - Feedback panel → User state: reads
src/components/FeedbackPanel.tsx - API client → Configured API: sends requests
src/lib/api.ts - Configured API → Server routes: may be served by
- Server routes → Server store: imports
server/index.cjs - App and routing → UI primitives: uses
src/App.tsx