Creating the RSS feed reader
The RSS feed reader we will create will let you add feed URLs, view a list of added URLs, and view the content of each feed URL. We will be storing the URLs in HTML5 local storage.
Setting up the project directories and files
In the exercise files of this chapter, you will find two directories: Initial
and Final
. Final
contains the final source code of the application whereas Initial
contains the files to help you quickly get started with building the application.
In the Initial
directory, you will find app.js
, package.json
, and a public directory containing files to be served to the frontend. The app.js
file will contain backend code. Currently, app.js
and package.json
contain no code.
We will put our HTML code in public/html/index.html
, and in the public/js/index.js
file, we will place our frontend JavaScript code, that is, React code.
Let's first build the backend, after which we will build the frontend.
Building the backend
First, let's download the packages...