Create a twitch clone using React -4

Photo by Paul Basel from Pexels

Welcome to Part-4 of the series. You can find part-3 here.

We will start implementing streams in our project.

Our Structure

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.

api folder

Now type npm init in the command line. It will ask you for details of many things. Press enter for each of them.

npm init

At the end it will show the package.json structure and ask for our permission. Type yes in it.

Yes

Now, we have a package.json file inside our api folder. Now, we will install the npm package json-server.

json-server

You can read the rest of the article from my blog site. The link for the same is below -

You can find code till this point here.You can find Part-5 here.

UI Lead- ReactJS, JavaScript and everything in-between.