Hi Deepika.. sounds your tutorial is very simple and easy to understand.
Manz TIHAGI
1

Hi Manz,

Thanks ! Regarding your query , ideally for each functionality you can add a controller and add get and post handlers in those controllers.

Reference all these controllers in your server.js and call the needed functions.

Does this answer your question ? or do you want to rephrase your question?