Firebase Cloud Functions and App Engines codes for News app.
App Engine's PubSub Cron is triggerd every morining and cloud functions fetch new blog artilcles and new Youtube videos.
Fetching a new Youtube video and creating list categorized by "category".
You can fetch Youtube video's infomation without using OAuth2. All you need is just to register Google APIs.
In functions/youtube.js you can fetch the latest video on your favorite Youtube channel if you get channelId of that, and can put it into Firebase realtime database.
Fetching a new blog article and creating list orderd by newest.
In functions/column.js you can fetch articles via RSS and put it into Firebase realtime database.
Triggerd every morning.
This is perfectly referenced from this article ( https://developers-jp.googleblog.com/2017/04/how-to-schedule-cron-jobs-with-cloud.html )
You should just edit appengine/cron.yaml.