Hey @VISIGO
I recommend this sample from our repos:
https://github.com/elestio-examples/cloudgate
It's based on cloudgate:
https://www.npmjs.com/package/@elestio/cloudgate
It's a good solution for jamstack/serverless, it's compatible with lambda function style and can serve API / Websockets and also static files
You can test it locally or deploy with CI/CD 🙂