How to call a meteor method from another node app in the same server?

Hi guys. I need to call a meteor method from a node app running in the same server? How can I do this without writing the same function in the node app?

See DDP connect : https://docs.meteor.com/api/connections.html#DDP-connect
And nodejs DDP client: https://www.npmjs.com/package/ddp

2 Likes

Thanks a lot man! That’s the perfect solution to my problem!