File size: 419 Bytes
62c3fe0
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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;