How gunakr/careeros works
1. Overall shape
- This is a two-tier product: a React single-page frontend and a Python backend.
- The app appears to be a career coaching / job-search workflow that guides a user through profile setup, resume processing, skill mapping, interview prep, job search, and auto-apply.
2. Frontend boundary
- The frontend lives under frontend/ and is the user-facing orchestration layer.
- It is a routed SPA with pages for Landing, Dashboard, Settings, Upgrade, AuthCallback, PaymentSuccess, and a multi-step wizard under pages/steps/.
- The step pages define the product flow: Profile → Resume Upload → Skill Mapping → ATS Resume → Roadmap → Learning → Interview → Jobs → Auto Apply.
3. Frontend UI system
- UI is built from a large local component library under src/components/ui/, suggesting a design-system-style approach rather than ad hoc UI.
- Styling/tooling uses Tailwind CSS plus CRACO, and there is a small custom health-check plugin in frontend/plugins/health-check/.
- App.js, index.js, and shared hooks like use-toast form the shell around the page flow.
4. Backend entry point
- The backend entry point is backend/server.py, which likely exposes the HTTP API consumed by the SPA.
- The backend is structured as a single application with service modules, not a cluster of separate microservices.
5. Backend service layer
- The backend is split by responsibility:
- auth.py for authentication/session flows
- payment_service.py for billing/upgrade handling
- email_service.py for user notifications
- pdf_service.py for document generation/export
- ai_service.py for AI/LLM-driven features
- scraper.py for external job-data extraction
- This suggests the backend is an orchestrator that combines user data with AI and external integrations.
6. Domain and persistence
- backend/models.py likely contains the core data structures for user profile, resume data, roadmap/skill state, job records, and related workflow entities.
- The repo does not show a standalone database service; persistence is probably handled inside the backend application layer, with models as the domain boundary.
7. Key data flow
- A typical flow is: the user starts in the SPA, completes onboarding steps, uploads a resume, and the frontend sends that data to the backend.
- The backend then transforms it through AI, scraping, and document services to produce outputs such as skill maps, ATS-friendly resumes, roadmap content, learning plans, interview prep, and job/apply actions.
- Payment and auth are cross-cutting flows that gate parts of the experience, especially Upgrade and AuthCallback.
8. External integration boundaries
- auth.py and payment_service.py imply external identity and billing dependencies.
- email_service.py indicates outbound messaging for confirmations, alerts, or progress updates.
- scraper.py is an explicit boundary to third-party sites/data sources, likely for job listings or company/job intelligence.
- ai_service.py is the main intelligence boundary, where user inputs are turned into personalized recommendations and generated assets.
9. Document and artifact generation
- pdf_service.py and the presence of test_resume.docx indicate the system can produce or process exportable resume artifacts.
- This fits the product’s workflow around resume optimization and ATS-ready output.
10. Testing and validation
- backend_test.py plus the tests/ directory show backend-centric testing.
- test_reports/ and memory/ look like local artifacts used for iteration, regression tracking, or agent/evaluation runs rather than runtime components.
11. Operational/configuration notes
- backend/requirements.txt and frontend package/config files define two independent build/runtime stacks: Python backend and Node/React frontend.
- design_guidelines.json suggests some UI behavior or generation constraints are codified outside the app code.
12. Architecture diagram takeaway
- The clean diagram is: React SPA on the left, Python API/backend in the middle, and external services on the right (auth, payments, email, AI, scraping).
- The strongest internal subdivision is the backend service layer, where each feature area is isolated by module, while the frontend is organized around a guided user journey rather than generic pages.
Main entry points: App.js App shell · server.py Server · ai_service.py AI service · Step1_ResumeUpload.js Resume upload
Components 31
Frontend
React SPA and UI shell
- App shell · Routing, bootstrap, and global app wiring
frontend/src/App.js - Landing · Public marketing and entry point
frontend/src/pages/Landing.js - Dashboard · Primary logged-in overview
frontend/src/pages/Dashboard.js - Settings · User preferences and profile settings
frontend/src/pages/Settings.js - Upgrade · Plan selection and paid feature gating
frontend/src/pages/Upgrade.js - Auth callback · Completes external sign-in flow
frontend/src/pages/AuthCallback.js - Payment success · Post-checkout confirmation and redirect
frontend/src/pages/PaymentSuccess.js - Profile · Initial career profile setup
frontend/src/pages/steps/Step0_Profile.js - Resume upload · Resume ingest and parsing start
frontend/src/pages/steps/Step1_ResumeUpload.js - Skill mapping · Maps resume content to skills and gaps
frontend/src/pages/steps/Step2_SkillMapping.js - ATS resume · Generates ATS-friendly resume output
frontend/src/pages/steps/Step3_ATSResume.js - Roadmap · Creates a career plan and milestones
frontend/src/pages/steps/Step4_Roadmap.js - Learning · Recommends learning resources and gaps
frontend/src/pages/steps/Step5_Learning.js - Interview · Interview prep and practice flow
frontend/src/pages/steps/Step6_Interview.js - Jobs · Job discovery and matching
frontend/src/pages/steps/Step7_Jobs.js - Auto apply · Automated application submission
frontend/src/pages/steps/Step8_AutoApply.js - UI kit · Shared design-system style components
frontend/src/components/ui/button.jsx - Toast hook · Global notification helper
frontend/src/hooks/use-toast.js - Health plugin · Custom frontend health-check integration
frontend/plugins/health-check/webpack-health-plugin.js
Backend
Python API and service modules
- Server · HTTP API entry and request orchestration
backend/server.py - Models · Core user, resume, job, and workflow structures
backend/models.py - Auth · Authentication and session flows
backend/auth.py - Payments · Billing and upgrade handling
backend/payment_service.py - Email · Outbound notifications and messaging
backend/email_service.py - PDF · Document generation and export
backend/pdf_service.py - AI service · LLM-driven analysis and generation
backend/ai_service.py - Scraper · External job-data and web extraction
backend/scraper.py
Artifacts
Tests, reports, and local assets
- Backend tests · Backend-centric validation and regression coverage
backend_test.py - Tests · Additional test package scaffolding
tests/__init__.py - Resume sample · Example resume input or output artifact
test_resume.docx - Reports · Iterative test and evaluation outputs
test_reports/iteration_1.json
Connections 43
- App shell → Landing: routes to · Public entry route
- App shell → Dashboard: routes to · Authenticated workspace
- App shell → Settings: routes to · Account settings
- App shell → Upgrade: routes to · Billing gate
- App shell → Auth callback: routes to · External auth completion
- App shell → Payment success: routes to · Checkout confirmation
- App shell → Profile: orchestrates · Guided onboarding flow
- App shell → Auto apply: orchestrates · End of workflow
- Profile → Resume upload: next · Step progression
- Resume upload → Skill mapping: next · Step progression
- Skill mapping → ATS resume: next · Step progression
- ATS resume → Roadmap: next · Step progression
- Roadmap → Learning: next · Step progression
- Learning → Interview: next · Step progression
- Interview → Jobs: next · Step progression
- Jobs → Auto apply: next · Step progression
- App shell → UI kit: uses · Shared UI primitives
- App shell → Toast hook: uses · Global toast notifications
- Health plugin → App shell: extends · Build-time health checks
- Upgrade → Payments: calls · Plan purchase and upgrade flow
- Auth callback → Auth: calls · Login callback completion
- Resume upload → PDF: calls · Resume/document handling
- Skill mapping → AI service: calls · Skill analysis and recommendations
- ATS resume → PDF: calls · Generate ATS-ready output
- Roadmap → AI service: calls · Roadmap generation
- Learning → AI service: calls · Learning plan generation
- Interview → AI service: calls · Interview prep generation
- Jobs → Scraper: calls · Job discovery and enrichment
- Auto apply → Server: calls · Application submission flow
- Server → Models: uses · Domain state and persistence boundary
- Server → Auth: delegates · Authentication workflows
- Server → Payments: delegates · Billing workflows
- Server → Email: delegates · Notifications
- Server → PDF: delegates · Document generation
- Server → AI service: delegates · AI-driven feature work
- Server → Scraper: delegates · External data acquisition
- Auth → Email: triggers · Account and login messaging
- Payments → Email: triggers · Receipts and purchase status
- AI service → Models: reads/writes · Profile and workflow context
- Scraper → Models: enriches · Job and market data
- Backend tests → Server: validates · API and orchestration behavior
- Resume sample → Resume upload: sample for · Resume input/output artifact
- Reports → Backend tests: records · Run outputs and iteration history