How abhi3kumar11/job-board works
Main Components
• Frontend: The UI is built with React, Tailwind CSS, and Framer Motion. Represent the entire “frontend” directory as the client-side application that enables users to view, filter, and search job listings.
• Backend: The “backend” directory contains the Flask application (app.py) responsible for API endpoints, serving the crawled job data, and rendering UI templates. It also implements the crawling process using BeautifulSoup and undetected-chromedriver.
• Database: The SQLite database (jobs.db) is used to persist job postings and related information.
• External Services: Include an element representing external job listing sites (e.g., Naukri.com). This shows that the backend’s crawler pulls data from these external systems.
• Background/Job Scheduler: While not explicit as a separate service, note that the system has an auto-refresh feature scheduled every 24 hours. You might add a component or annotate the backend module to indicate that it periodically triggers the crawling process.
Relationships and Interactions
• If needed, add interactions to indicate template-based rendering (e.g., index.html in the “backend/templates” directory) in addition to API endpoints.
Architectural Patterns and Technologies
• Mention the separation of concerns between frontend and backend, which is central for full-stack applications.
• API layer where the Flask application interfaces with both the database and the external scraping logic.
• Integration points: usage of Flask for backend routing, React for frontend interactivity, and SQLite for simple persistent storage.