Codebase for article "Shutdown correctly Node.js apps"
This is the codebase used in the article.
You need to start webhooks before index.
Execute the following command in a terminal:
Open a new terminal and execute this other command:
After a few seconds press
Ctrl+C and see how the server shuts down.