The first step to any project is to setup your development environment. Follow the steps:
week1/project), use create-react-app to create a React application. Give it the name ecommerce
You are going to be copying and refactoring your code every week but will simultaneously be getting feedback for previous weeks. As such, at the beginning of every week you copy over the project files from the previous week into a new folder and a new branch. To help you identify if all is well, we suggest keeping it in the week folder that it is a part of.
fake-data inside the src folder of your new projectThis week you’ll build the foundation of your application. It should eventually look like this:
There is a live version here
We will be using the information in the fake-data folder as an example of what we get back from the API. The actual connection to the API will be done next week.
What you need to have done at the end of the week:
all-products file. Note: the site is responsive, so have a look at the breakpoints in the deployed example project.all-categories file at the top of the pagecategory property should be displayed on the screen. Note: The categories listed in the product objects do *not* match up exactly with the categories in the categories list. You will have to find a solution to this *without* editing the files