App version 3 – adding a view

In our application, we want to extend the code to read an RSS feed. To build upon the existing code, we should incorporate a few additions to move closer to our application requirements:

  • Display some static content.
  • Utilize an HTTP response to display as HTML page.

To achieve this, we will perform the following steps:

  1. Introduce an NPM peer package to perform the necessary RSS interaction. A peer package is a Node dependency declared in the package.json file. Performing a quick search of NPM packages shows rss-parser as the right choice for our requirements.
An advantage of using a package is that it will include all the relevant information about configuration. Node establishes an automatic update of the ...

Get Hands-On Serverless Computing with Google Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.