Skip to content
Codebase for article "Shutdown correctly Node.js apps"
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
index.js
webhooks.js

README.md

Codebase for article "Shutdown correctly Node.js apps"

This is the codebase used in the article.

Files:

You need to start webhooks before index.

Execute the following command in a terminal:

node webhooks.js

Open a new terminal and execute this other command:

node index.js

After a few seconds press Ctrl+C and see how the server shuts down.

You can’t perform that action at this time.