7fife-backend/routes/notification.route.js

10 lines
519 B
JavaScript
Raw Normal View History

2024-03-07 13:01:44 +00:00
const notificationController = require('../controllers/notification.controller')
module.exports = (app) => {
app.post('/notification',notificationController.createNotification);
app.get('/getNotifications',notificationController.getNotifications);
app.delete('/deleteNotification/:id',notificationController.deleteNotification);
app.get('/getNotificationId/:id',notificationController.getNotificationId);
app.delete('/deleteAllNotifications',notificationController.deleteAllNotifications)
2024-03-07 13:01:44 +00:00
}