- create a react application -
npx create-react-app ecommerce-fe - Install react router package -
npm install react-router-dom@6 - Run
npm startand you should see your application up and running.
- Have two pages
/and/products/:id. /page should return all the products (Match your output with the image under GOAL 1)./products/:idshould returnComing Soon!text.- Based on URL, the links should be automatically highlighted. HINT - Use
<NavLink> - Keep the
Create Productbutton dummy as of now.
- Break the Mockup into components before working on it.
- Use flexbox to get the layout for Products.
/products/:idpage should show the products details (Match your output with the image under GOAL 2).- Add
Add to Cart Button
- Just build the static page.


