React Machine Round - Build E-commerce with Auth and Protected Route.

Опубликовано: 29 Сентябрь 2024
на канале: Revive Coding
1,573
71

React Machine Round - Build E-commerce with Auth and Protected Route.

Here we are building a project in react JS interview machine round project, which has the following instructions.

You can submit a short assignment

1. Implement Login process using (https://dummyjson.com/docs/auth),
2. Save the login token for authorization purposes.
3. Make the Home page a protected Route (only logged-in users allowed).
4. Fetch products on the home page ( https://dummyjson.com/docs/products)
5. Add a search on the page to search products based on their name
6. Add a filter option on the home page based on price
7. Implement a cart and show the cart count on the top with the total amount of the cart
8. Create an add-to-cart button on product cards.