This repository was archived by the owner on Oct 24, 2026. It is now read-only.
Repository navigation
High Level Design | Data Jobs Module
Engramar Bollas edited this page Mar 10, 2025
·
1 revision
The Data Jobs Module is a feature on ThePusoProject web app (https://www.thepusoproject.ph/datajobs) that enables users to post job openings related to data fields, such as Data Engineering, Data Analysis, and more. This implementation plan outlines the key components, development phases, and deployment strategy for integrating this module into the website.
- Enable authenticated users to post job opportunities.
- Provide a structured layout for displaying job postings.
- Ensure a simple and accessible user interface using Bootstrap or Pico CSS.
- Store job data securely using SQLite3.
- Implement an API for job posting and retrieval.
| Component | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript, Bootstrap/Pico CSS |
| Backend | Flask |
| Database | SQLite3 |
| User Role | Permissions |
|---|---|
| Regular User | - Request to post job openings - Edit and delete their own job posts |
| Admin | - Approve job postings before they go live - Edit and delete any job post |
- Regular User submits a job post request.
-
Admin reviews and approves the request.
- If approved → The job post becomes publicly visible.
- If rejected → The post remains unpublished.
- Regular Users can edit or delete only their own job posts.
- Admins can edit or delete any job post at any time.
| Endpoint | Method | Description |
|---|---|---|
/create_job_post |
POST | Request to create a job post (Regular Users) |
/fetch_job_posts |
GET | Retrieve all approved job posts |
/approve_job_post |
POST | Admin approves a pending job post |
/edit_job_post/<id> |
PUT | Edit a job post (Regular Users - if it's theirs, Admins - any post) |
/delete_job_post/<id> |
DELETE | Delete a job post (Regular Users - if it's theirs, Admins - any post) |
- Users can fill out a form with job details:
- Job Title
- Job Category
- Work Setup (Remote, Hybrid, On-site)
- Company Name
- Location
- Salary Range
- Job Post Link
- Data validation is applied before submission.

- User (1) → (M) JobPost (One user can create multiple job posts)
- Admin (1) → (M) Approval (An admin can approve/reject multiple posts)
- JobPost (1) → (1) Approval (Each job post must be approved/rejected by an admin)
- Frontend: HTML/CSS/JS-based UI with Bootstrap/Pico CSS for styling.
- Backend: Flask-based API to handle job postings.
- Database: SQLite3 for job storage.
- Authentication: Users must be logged in to post a job.
- Routing: Flask routes handle job posting and retrieval.
| Issue | Description | Status |
|---|---|---|
Missing Elements in datajobs.html
|
Buttons, search bar, and other UI components are missing from the source code. | Needs Fixing |
| No Access to Database File | Unable to check the database manually using DB Browser for SQLite or cloud-based database servers. Needs clarification. | Needs Investigation |
| Lack of Project Structure Documentation | Volunteers need more context on the overall structure from the main developer. | Requires Documentation |
| Login System Inconsistencies | After logging in, users are redirected to /dashboard, but the top-right navigation still shows "Login / Signup" instead of the user’s session. Navigating to Data Jobs still displays "Login / Signup." |
Needs Revamp |
- Improve session management to ensure users stay logged in across all pages.
- Update navbar dynamically to reflect login status.
- Restrict job posting feature only to logged-in users.
- Implement user roles:
- Regular Users: Can request job postings, edit/delete their own posts.
- Admins: Can approve posts, edit/delete all posts.
- Implement an approval system where Admins must approve a job post before it becomes public.