Build a simple Product Feedback Board where users can:
- View feedback posts
- Rate them from 1 to 5 stars ⭐
- Search feedback
- Filter feedback by category
- Add new feedback via a modal
- Sort feedbacks by rating or by date (default) - Optional
- Use shadcn ui for UI components
- Use react-hook-form and zod for form validation
- Use tailwind for styling
- Use useState hook to update the feedback data (Context API not needed)
- Add start and end commit by updating this readme file, add the start and end date time on the bottom
Render a list of feedback posts with the following fields:
title(string) requireddescription(string) requiredcategory(string) e.g., "UI", "UX", "Feature"rating(number) 1–5 stars ✅date(number timestamp) MM/DD/YYYY
Posts sorted by date (desc)
- Each post shows a 1–5 star rating system
- Clicking a star updates the rating for that post
- Include a search bar
- Filter feedback by
titleordescription(case-insensitive) - Results update in real-time as the user types
- Display Category (badge)
- Filter feedback by clicking on category
- Display selected category below the search bar
- “+ New Feedback” opens a modal or drawer
- Form includes:
title,description,categoryandrating - Adds new feedback to the list (no backend required)
- Responsive layout (mobile & desktop)
- Clean and accessible UI using Tailwind
- Use semantic HTML and accessible elements
- Sort by date (default) or by rating (Dropdown Menu)
- Add smooth transitions (e.g. rating hover)
Good luck! Let us know if you have any questions. ✨