Now it's time to build our online store. Our first step is to use the Create React App tool to create a new React application. Open your Terminal, navigate to the folder where you would like the GoMusic application to live, then run the following command:
create-react-app gomusic
This command will create a new folder, called gomusic, which will contain a skeleton React application waiting to be constructed.
Now navigate to your gomusic folder using the following command:
cd gomusic
Inside, you'll find three folders: node_modules, public, and src. Before we start writing our application, we'll need to remove some files from the src folder.
Delete the following files from the src folder:
- app.css
- index.css
- logo.svg
Next, we'll need to go the public folder. To make things simpler, replace the contents of your public folder with those found at...