dtaneli-akelius/doruk-nextjs-rule icon
public
Published on 3/10/2025
doruk-nextjs-rule

Rules
doruk-nextjs-rule
- 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 Zod for validation.
- Use React Context for state management.
- Use Drizzle 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.