Product Requirements Document: IT Job Database - Poland
Version: 0.1 (Initial Draft)
Date: October 26, 2023
Author: LLM Assistant (Based on User Input)
1. Introduction
This document outlines the requirements for a web application that aggregates IT job offers from company websites in Poland. The initial focus is on providing a consolidated, searchable database for personal use, with potential for wider sharing within the IT community. The project will leverage web scraping techniques (Nokogiri and firecrawl.dev) and a Ruby on Rails backend with a simplified front-end.
2. Goals
- Primary Goal: To create a single, comprehensive source of IT job offers in Poland, eliminating the need to manually filter through multiple job boards and company websites.
- Target Audience: IT professionals in Poland seeking job opportunities.
- Success Metrics: Number of job postings aggregated, frequency of data updates, user feedback (if shared publicly).
3. Scope
- In Scope:
- Web scraping of company career pages in Poland.
- Data storage in a PostgreSQL database.
- Ruby on Rails backend for data processing and API.
- Simplified front-end with search and filtering capabilities.
- Weekly data updates.
- Out of Scope (for MVP):
- User authentication/accounts (initially).
- Advanced filtering options (beyond category).
- Job application functionality.
- Integration with external APIs (e.g., LinkedIn).
- Detailed skill extraction and analysis.
- Salary negotiation tools.
4. Functional Requirements
- Web Scraping:
- The system must be able to scrape job postings from company websites.
- It should utilize Nokogiri for easily scrapeable pages.
- It should utilize firecrawl.dev for pages requiring more advanced scraping techniques.
- The scraping process should be robust and handle website changes gracefully.
- Data Storage:
- The system must store the following data points for each job posting:
- Job Title
- Company Name
- Job Offer URL (direct link)
- Salary Range (if available)
- Data should be stored in a PostgreSQL database.
- Backend (Ruby on Rails):
- API endpoints to retrieve job postings based on search criteria and filters.
- Scheduling mechanism for weekly data updates.
- Logic to handle duplicate job postings (see "Non-Functional Requirements").
- Frontend:
- A simple, endless-scroll view displaying job postings.
- Search functionality to search by keyword.
- Filtering functionality to filter by job category (e.g., Project Management, JavaScript, QA).
- Clear display of Job Title, Company Name, and a link to the original job offer.
5. Non-Functional Requirements
- Performance: The application should be responsive and load quickly.
- Scalability: While not a primary concern for the MVP, the system should be designed with scalability in mind.
- Reliability: The scraping process should be reliable and minimize errors.
- Data Quality: High data quality is paramount. The system must minimize duplicate postings and ensure data accuracy.
- Security: Basic security measures should be implemented to protect the database and API.
- Deployment: Deployment should prioritize cost-effectiveness, utilizing OVH or Heroku instances where possible, avoiding major cloud providers (AWS, GCP, Azure) if feasible.
6. Technical Requirements
- Programming Language: Ruby
- Framework: Ruby on Rails
- Database: PostgreSQL
- Web Scraping Libraries: Nokogiri, firecrawl.dev
- Deployment Platform: OVH or Heroku (preferred)
- Version Control: Git
7. Open Issues / To-Do for Agentic Developer
- Duplicate Detection: Implement a robust algorithm to identify and handle duplicate job postings. This is a high priority.
- Scraping Logic: Develop and maintain the scraping logic for various company websites, adapting to changes in website structure.
- Error Handling: Implement comprehensive error handling and logging for the scraping process.
- Database Schema Design: Design an efficient database schema for storing job posting data.
- API Development: Develop the necessary API endpoints for the front-end.
- Deployment Scripting: Create scripts for automated deployment to OVH or Heroku.
- Category Mapping: Define a consistent set of job categories for filtering.
8. Future Considerations
- User accounts and profiles.
- API access for developers.
- Business access to data (potential monetization).
- Advanced filtering options (e.g., by technology stack, experience level).
- Integration with other job boards and platforms.
This PRD provides a starting point for the development of the IT Job Database. It will be refined and updated as the project progresses.