How sreelalchalil/online-job-portal works
Project type and purpose
• This is a monolithic full-stack web application (“Online Job Portal”) built with PHP on the server side, MySQL as the relational database, and HTML/JavaScript with Bootstrap for the frontend.
• Its core use cases: employers register/log in, post jobs, view/manage applicants; job seekers register/log in, search/browse/apply for jobs; location lookup via an internal API; file upload for resumes and logos.
File structure
• Top-level directories and files:
• Database/ – contains SQL scripts (JobPortal.sql, location.sql) to create schema
• bootstrap/ – entire Bootstrap 3 library (CSS, JS, fonts, docs)
• css/, js/ – application-specific static assets
• employer/, jobseeker/ – PHP modules implementing business logic for each user role
• location/ – a self-contained REST-style API (classes/dbconfig.php, classes/location.php, api.php) and a client JS
• uploads/ – file storage for images, logos, resumes
• config.php – central PHP configuration (database credentials, connection setup)
• index.php, login/logout/process_login.php, forgotpass.php – auth and landing pages
• Architectural patterns:
• Layered separation by concern (presentation vs. business logic vs. data)
• Functional partitioning into “employer,” “jobseeker,” and “location” modules
• Static asset folder structure for CSS/JS/Bootstrap vendor code
README for additional insights
• Confirms use of PHP, MySQL, HTML, JavaScript, Bootstrap
• Mentions academic usage (no production-grade microservices)
• References a future GraphQL/Mongo version (not relevant here)
Elements
• Clear, human-readable labels for each component (e.g., “Browser,” “PHP App Server,” “MySQL DB,” “Uploads Storage,” “Bootstrap CDN”)