Mobile push notifications

How would I go about using mobile push notification with appStudio? I know the Sample push project (I think it is a web push) is outdated. Has there been an updated one, espc. for Javascript? The goal - have the app that is running on a phone (via the Volt server) send a notification to the phone based on something that happens in the app.

This article looks like a good place to get started: