I'm working on this MERN todo application. I want to create tasks and daily tasks.
Daily tasks are going to be everyday, or maybe once a week.
I have no idea how can I count time till the next day when
I have to show the task on the front-end.
The only idea I have is to make 2 different mongoose models: Task, DailyTask
and do something... Still, I can't understand how to set timer till the time,
when I have to show the task.
What kind of approach do you think I have to use?