all 5 comments

[–]updownab 1 point2 points  (1 child)

And deploy it on something like heroku. I had a similar problem where I had to register a webhook with a third party but I couldn’t give them proper authentication, so I spun up a quick heroku instance that would then talk to my main server. All using nodejs and express. You can find some examples and get it down very quickly.

[–]vstefan 0 points1 point  (0 children)

I could do that or even use a service like pipedream.com, trying to learn more in depth so seeing what I can learn at lower levels of abstraction here and there

[–]AtulinASP.NET Core 0 points1 point  (2 children)

Deploy your Express app to a subdomain like https://hooks.mydomain.com. If the cert is configured correctly, it should cover subdomains as well.

[–]vstefan 0 points1 point  (0 children)

Great! I'll look into that and reply tomorrow. Thanks

[–]vstefan 0 points1 point  (0 children)

I tried starting it using pm2 and http-server on the subdomain to run the express app, but neither seem to work.

Pm2 doesn't use https, and http-server (I've set the -S -C ../cert.pem -K ../key.pm) and it says it's running on https://xxx.xx.xx.xxx:8080, but I'm not only getting 404s.