const express = require('express');
const router = express.Router();
const { getProfile, updateProfile, uploadResume, getApplications, applyForJob } = require('../controllers/jobSeekerController');

// Get job seeker profile
router.get('/profile', getProfile);

// Update job seeker profile
router.put('/profile', updateProfile);

// Upload resume
router.post('/resume', uploadResume);

// Get job seeker's applications
router.get('/applications', getApplications);

// Apply for a job
router.post('/apply/:jobId', applyForJob);

module.exports = router;