ReactJS Assignment
Setup
• Either use the command
npm create vite@latest react-assignment -- --template react
or
npm create vite@latest
to generate react template project for you.
• Install the packages through npm i
• Development process can be started through the command npm run dev
• Make sure your template project is working before you start your solution for this
assignment.
Instructions
• Develop an E-commerce Product Listing Page following the attached design mockup.
• Ensure the application is responsive and functions seamlessly across various screen
resolutions.
• Use the provided APIs to fetch data
– Get all products: [Link]
– Get all categories: [Link]
• Implement filters as shown in the attached design. Ensure the following filters are
functional
– Category Selection
– Price Range
– Rating
– Search
• Implement clear filters functionality.
• Replicate the design mockup as closely as possible.
Coding Guidelines
• Use functional components and React hooks for state management.
• Follow clean coding practices with meaningful variable names.
• Use a CSS-in-JS solution such as Styled Components, Emotion, or CSS Modules for
styling.
• You can use react component library such as Antd (Preferable), Chakra UI, MUI, etc.
if you want.
• Creating your own custom components will get you extra points.
• Use of AI assistants (such as ChatGPT, Github Copilot, etc.) is strictly prohibited.
Submission Guidelines:
NOTE: Failure to adhere to Submission Guidelines will render the
submission useless as it will not be evaluated.
• Compress your project folder into a .zip file named _ReactAssignment.zip.
• Do not include the node_modules folder in the zip file.
• Ensure your code is well-documented and includes setup and execution
instructions.
• After uploading your project, you’re required to fill this form. Click here.