DEV Community

Gira969
Gira969

Posted on

Can you provide same code for nodejs and express

I have done above code till the server.js file..
but when i run npm start i do not have any notification when i inserted document in my collection. Is there any other code for nodejs??

Actually I am trying to developed website for online food order..
I want this functionality : when ever any user place new order i should receive any notification.. in programing language when any collection in our mongodb modify i should get any alert or notification ,,,How can i achieve this ?? Please any body help me ..
I have used MongoDB , nodejs ,bootstrap and express..

Top comments (1)

Collapse
 
nirberko profile image
Nir Berko

Do you mean to print a log to your terminal ?