In the previous chapter, static media content was used. In this section, you will be creating a Node.js server that returns the media contents. In the real world, you would want the media contents to be sent from the backend server so that you can save and manage the media information in the database. You will not be learning about storing and retrieving media from the database in this chapter, but you can refer to the technique used in Chapter 4, Hosting, Securing, and Testing Fortune Cookie in Cloud, where the data is saved and retrieved from CosmoDB. Finally, the podcast music files and the cover image are saved to the Microsoft Azure blob storage.
The following shows the media content dataflow:
Media content dataflow