the beginning of the idiots

This commit is contained in:
2025-10-24 14:51:13 -05:00
parent 0b377030c6
commit cb06217ef7
123 changed files with 10279 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
const express = require('express');
const router = express.Router();
const { getDashboard, createJob, updateJob, deleteJob, getApplications, manageApplication } = require('../controllers/jobProviderController');
// Get job provider dashboard
router.get('/dashboard', getDashboard);
// Create a new job
router.post('/jobs', createJob);
// Update a job
router.put('/jobs/:jobId', updateJob);
// Delete a job
router.delete('/jobs/:jobId', deleteJob);
// Get applications for job provider's jobs
router.get('/applications', getApplications);
// Manage an application
router.put('/applications/:applicationId', manageApplication);
module.exports = router;