dmanexe/bitbucket-nodejs-webhook

Advice: new node process or reuse existing one?

Closed this issue · 2 comments

I really appreciate that this repository exists. Thank you.

My web app is running on nodejs. It made sense that I would reuse that node process to listen for the webhook. Does that sound like a good idea?

In all the tutorials I've read on this topic, they set up a fresh node process to listen. I just wonder if that isn't a waste of resources.

Thank you in advance.

Aw, thank you for the kind words! :)

Yes, this repository published as a standalone proof of concept, which you could easily import into any existing NodeJS application.

Personally, I run this as a fresh node process, but please understand what additional configuration may be required for your particular environment.

What you say makes sense. I'll see if I can get it going with my existing node app then. Thank you again!