Sample microservice for exposing database tables via REST using node.js express.js in a docker container

I have started learning node.js: The first result is this github repository where you can find a basic project of a rest web service that exposes oracle data.

How to run the service forever (with autorestart on failures)? I tested it both with a docker container and the pm2 tool