graceful-shutdown-example This is a minimal example of capturing the SIGTERM signal on Heroku for graceful shutdown Deploying Or, from the command line: $ heroku create $ git push heroku master $ heroku open Developing locally $ npm install $ npm start