How sohamhanse/careersync works
Project Type & Purpose
• CareerSync is a full-stack job and internship aggregator application.
• Its primary purpose is to collect job postings from various external platforms (via web scraping), process and display them on a modern, user-friendly interface, and eventually automate parts of the application process.
• The backend (Crawler) is responsible for scraping job listings from multiple websites, while the Frontend (built with React) presents the data to users and handles interactions (search, authentication, etc.).
File Structure
• Two main directories indicate separate concerns:
• Crawler: Contains Python modules and scripts (like json_api_server.py, enhanced_job_scraper.py) and submodules for different job platforms (LinkedIn, Indeed, Glassdoor, etc.) under "jobspy". This indicates a modular design for scraping various sources.
• Frontend: Contains a full React application structure with pages, components (including dedicated authentication, UI components, pages for job detail, search, dashboard, etc.), integration with Supabase, and configuration files (Vite, Tailwind, etc.).
• Additional configuration and build/deployment files (e.g., package.json, tsconfig.json, pyproject.toml) hint at modern development practices and potential continuous integration.
Key Components
a. Frontend:
• React App: Representing the UI layer with components such as Navbar, Hero, JobCard, Authentication forms, and pages (Dashboard, JobDetail, Search).
• Integration Layer: Show the Supabase integration and any API services (e.g., api.ts, external API calls) that the frontend uses.
b. Backend (Crawler):
• API Server: Highlight the json_api_server.py which exposes endpoints to deliver scraped job listings.
• Web Scraping Engine: Show modular scrapers grouped under “jobspy” (submodules for bayt, glassdoor, google, indeed, linkedin, naukri, and ziprecruiter). These modules feed the aggregated data.
• Utility Modules: Include supporting modules such as error_handling.py and job_intelligence.py which may be used for data analysis or refining scraped data.
c. External Services & Data Flow:
• Database: Even though there isn’t a direct folder for it in the repo, the README indicates usage of Firebase or MongoDB. Represent it as a central repository for storing or caching job data.
• Payment Gateway and Future AI Integration: Optionally note external services like Razorpay (for premium features) and AI modules (GPT / DeepSeek) for categorization and future automation features.
Highlighting Architectural Patterns & Design Principles
• Modular & Layered Architecture: Clearly break down the system into separate layers – the presentation layer (Frontend) and the data collection/processing layer (Backend).
• Clear Separation of Concerns: Emphasize that the frontend and backend are loosely coupled and communicate over defined API endpoints.
d. Database (MongoDB/Firebase) connected to the API Server if applicable.
e. In the Frontend section, layout major UI components and include an “API Integration Layer” that communicates with the API server.
g. Annotations for future modules such as "AI Application Automator" or payment gateway integrations.