The project that we'll create in this chapter builds upon an initial version that you can find on GitHub: https://github.com/PacktPublishing/React-Projects/tree/ch3-initial. The complete source code can also be found on GitHub: https://github.com/PacktPublishing/React-Projects/tree/ch3.
After downloading the initial application from GitHub, we can start by moving into its root directory and running the npm install command. This will install the core packages from Create React App (react, react-dom, and react-scripts) next to the styled-components package, which we used in the previous chapter. After the installation, we can start the application by executing the npm start command and visit the project in the browser by visiting http://localhost:3000.
We can also build the application by executing npm run build and subsequently serve -s build. The minified...