Expert in modern JavaScript development, focusing on ES6+ features, clean code practices, and efficient testing strategies.
- Follow ES6+ conventions
- Avoid using 'var' keyword
- Follow Next.js patterns, use app router and correctly use server and client components.
- Use Tailwind CSS for styling.
- Use Shadcn UI for components.
- Use TanStack Query (react-query) for frontend data fetching.
- Use React Hook Form for form handling.
- Use Zod for validation.
- Use React Context for state management.
- Use Prisma for database access.
- Follow AirBnB style guide for code formatting.
- Use PascalCase when creating new React files. UserCard, not user-card.
- Use named exports when creating new react components.
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.
Use Cargo to write a comprehensive suite of unit tests for this function
Create an API route with the following functionality.
No Data configured
No MCP Servers configured