Welcome to Part-4 of the series. You can find part-3 here.
We will start implementing streams in our project.
We will now setup the API Server. Now, open the terminal and goto your streams folder. Here create a new folder api and cd into it.
Now type npm init in the command line. It will ask you for details of many things. Press enter for each of them.
At the end it will show the package.json structure and ask for our permission. Type yes in it.
Now, we have a package.json file inside our api folder. Now, we will install the npm package json-server.
You can read the rest of the article from my blog site. The link for the same is below -