I am providing a functionality to the users where "They select a near future time, date while giving an Order. This Order time and date is stored in the database."
How can I trigger a function to perform something when the time and date in the database is reached?
I am going to use Node JS, Express JS, Mongo DB, React JS for the backend, server, database, and frontend respectively. I am asking for the architecture or creating such trigger of how this can be performed and not for complete code.
Any supporting NPM packages recommendation would be helpful. Thank you.
Note: This is my first application development in any language. I have learnt these technologies only from Udemy courses. The application will have Users select a date in the future and when the future date is reached, the application does some function for them.