Creating a Node.js backend server

You will be creating a Node.js backend server that will return a list of PodcastData elements. Here are the steps to create a Node.js backend server:

  1. Open Visual Studio Code for writing the Node.js server.
  2. Go to File | Open Folder and select the directory where you will be working with the Node.js server codes. The following shows the folder in Visual Studio Code:
Open folder in Visual Studio Code
  1. Create three files: package.json, server.js, and web.config.
  2. In package.json, add name:"podcasts", description:"podcast service", version:"0.1.0", author:"Henry Lee <henry@henrylee.link>", dependencies: body-parser" ...

Get Voice User Interface Projects 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.