const express = require('express'); | |
const router = express.Router(); | |
// Multer setup to handle file uploads | |
const multer = require('multer'); | |
const storage = multer.memoryStorage(); | |
const upload = multer({ storage: storage }); | |
const {submitJobApplication} = require('../controller/applicantController'); | |
router.post('/submit-job-application', upload.single('resume'), submitJobApplication); | |
module.exports = router; |