Setup React
This lab requires React and create-react-app to build the app.
What is React?
React is a UI JavaScript library by Facebook for building efficient user interfaces and Single Page Applications. With React, you can build reusable frontend UI components in your app.
Install create-react-app
Facebook has a command line tool, create-react-app that can scaffold a progressive web app out of the box in less than a minute. Let's install the create-react-app tool globally using npm:
npm install -g create-react-appThis will install the create-react-app command line tool, which will make it easy to initialize your app with React.
Provision your app
Run the create-react-app command via the command line.
create-react-app miniflixNavigate to the miniflix directory via the command line.
cd miniflixLast updated