Frontend Task
Frontend Task
js,
TypeScript, and Tailwind CSS. The dashboard will manage and visualize user data fetched from a
provided API endpoint. Complete the entire task within 4 days and deploy the application to a
serverless hosting provider such as Vercel.
Requirements:
1. API Integration:
o Handle loading, error states, and implement data fetching using Next.js server-side
rendering (SSR) and API Routes.
2. Dashboard UI:
3. Dynamic Routing:
4. Interactive Components:
o Implement client-side sorting and pagination for the user data table (10 items per
page).
o Create an editable form within the detailed user page allowing user details to be
edited and validated using a library of your choice (e.g., React Hook Form, Yup).
6. JWT Authentication:
Password: testpass
o Avoid using any; implement proper types for components, props, and API
responses.
8. Performance Optimization:
9. Serverless Deployment:
o Add a dark mode toggle feature with persistence (Local Storage or Cookie).
Evaluation Criteria:
Effective use of Next.js features (SSR, dynamic routes, API routes, middleware).
Deliverables: