Notifications/NotificationCronJob.js - a node cron scheduler which finds task approaching due date and make a notification object in database by userId.
Models/NotificationModel.js - model for notification objects contains - message, date, userId.
Controllers/NotificationController.js - getUserNotifications created which responds with all notifications of user by userId, and deletes them from database.
Routes/NotificationRoute.js - add the route: api/v1/notification/:userId
Files modified:
Models/TaskModel.js - added field UserId, changed type of field dueDate to Date, changed structure of file due to errors
Files and folders created:
Files modified: