-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.cursorrules
More file actions
43 lines (37 loc) · 1.43 KB
/
Copy path.cursorrules
File metadata and controls
43 lines (37 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Cursor Rules for KUNI_2thecore_frontend
## Project Overview
This is a React 19 + Vite TypeScript project for a car management system (차량 관제 시스템).
## Code Style Guidelines
- Use TypeScript for all new files
- Use functional components with React hooks
- Use Tailwind CSS for styling
- Follow React Router DOM conventions
- Use shadcn/ui + Radix UI components when available
- Prefer single quotes
- Use 2 spaces for indentation
- Use camelCase for variables and functions
- Use PascalCase for components
## File Structure
- Components: `src/components/`
- Pages: `src/app/` (React Router pages)
- Hooks: `src/hooks/`
- Store: `src/store/` (Zustand)
- Services: `src/services/` (API layer)
- Types: `src/types/`
- Utils: `src/utils.ts`
## Dependencies
- axios for API calls
- zustand for state management
- react-hook-form + zod for forms
- shadcn/ui + radix-ui for UI components
- react-router-dom for routing
## Development Focus
- **Backend Integration**: Primary focus on axios-based API connections
- **Real Implementation**: Replace mock data with real backend calls
- **Terminology**: Always use "car" (차량) - never use "vehicle"
- **Error Handling**: Implement proper loading states and Korean error messages
## Code Generation Rules
- Always include proper TypeScript types
- Use proper error handling with Korean messages
- Follow existing component patterns and API service layer
- Use Korean UI text throughout the application