cursor-boilerplate 0.7.2__py3-none-any.whl → 0.7.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,10 +25,11 @@ alwaysApply: true
25
25
  - task-no는 순차적으로 1씩 증가시킵니다.
26
26
  - 최상의 결과물을 위해 사용자에게 질문을 하고, 취사선택을 유도합니다.
27
27
  - 질문은 가급적 한 번에 한 개씩 합니다.
28
- - 신규 작업의 세부사항이 변경될 때마다 '프로젝트 구성 정보' 관련 필수 파일을 업데이트합니다.
28
+ - 신규 작업의 세부사항이 변경될 때마다 '프로젝트 구성 정보 관련 필수 파일'에 언급된 항목을 업데이트합니다.
29
29
 
30
30
  ## 3. 프로젝트 구성 정보 필수 파일
31
31
  - `docs/tech-stack.md`: 기술 스택 정보
32
32
  - `docs/directory-structure.md`: 디렉토리 구조 정보
33
33
  - `README.md`: 프로젝트 요약 정보
34
- - `.gitignore`: Git 무시 파일 목록
34
+ - `.gitignore`: Git 무시 파일 목록
35
+ - `docs/openapi.json`: OpenAPI 스펙 파일 (API가 있는 경우)
@@ -0,0 +1,69 @@
1
+ ---
2
+ description:
3
+ globs:
4
+ alwaysApply: false
5
+ ---
6
+ # FastAPI 프로젝트 규칙
7
+
8
+ ## 1. 개발 환경
9
+ - Python 3.13 사용
10
+ - 패키지 관리 도구로 `uv` 사용
11
+ - `pyproject.toml`을 통한 의존성 관리
12
+ - `uv.lock` 파일을 통한 버전 고정
13
+ - FastAPI 프레임워크 사용
14
+ - 내장 Swagger UI 사용 (OpenAPI 문서 자동 생성)
15
+
16
+ ## 2. 프로젝트 구조
17
+ ```
18
+ project/
19
+ ├── app/
20
+ │ ├── __init__.py
21
+ │ ├── main.py
22
+ │ ├── api/
23
+ │ │ ├── __init__.py
24
+ │ │ └── v1/
25
+ │ │ ├── __init__.py
26
+ │ │ └── endpoints/
27
+ │ ├── core/
28
+ │ │ ├── __init__.py
29
+ │ │ ├── config.py
30
+ │ │ └── security.py
31
+ │ └── models/
32
+ │ ├── __init__.py
33
+ │ └── schemas.py
34
+ ├── tests/
35
+ ├── pyproject.toml
36
+ ├── uv.lock
37
+ └── README.md
38
+ ```
39
+
40
+ ## 3. API 개발 규칙
41
+ - 모든 API 엔드포인트는 `app/api/v1/endpoints/` 디렉토리에 위치
42
+ - 각 엔드포인트 파일은 단일 리소스에 대한 CRUD 작업을 포함
43
+ - Pydantic 모델을 사용하여 요청/응답 스키마 정의
44
+ - OpenAPI 문서를 위한 상세한 docstring 작성
45
+
46
+ ## 4. 설정 관리
47
+ - 환경 변수를 통한 설정 관리
48
+ - `app/core/config.py`에서 모든 설정값 관리
49
+ - 개발/테스트/운영 환경별 설정 분리
50
+
51
+ ## 5. 보안
52
+ - JWT 기반 인증 사용
53
+ - 비밀번호 해싱
54
+ - CORS 설정
55
+ - 요청 속도 제한
56
+
57
+ ## 6. 테스트
58
+ - pytest를 사용한 테스트 작성
59
+ - 각 API 엔드포인트에 대한 테스트 포함
60
+ - 비동기 테스트 지원
61
+
62
+ ## 7. 문서화
63
+ - FastAPI의 자동 문서화 기능 활용
64
+ - 각 엔드포인트에 대한 상세한 설명 추가
65
+ - 예시 요청/응답 포함
66
+ description:
67
+ globs:
68
+ alwaysApply: false
69
+ ---
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursor-boilerplate
3
- Version: 0.7.2
3
+ Version: 0.7.4
4
4
  Summary: A boilerplate project for Cursor IDE
5
5
  Author-email: Your Name <your.email@example.com>
6
6
  License: MIT
@@ -0,0 +1,9 @@
1
+ cursor_boilerplate/__init__.py,sha256=fNOyX5PWOth_NRK0jMtT8zTeiViIztHHz0FylQfqRzQ,22
2
+ cursor_boilerplate/cli.py,sha256=9i1IEZcaIpFr3tFX3lereiYMjW2F2J7N4CyJcjMNjg8,1506
3
+ cursor_boilerplate/.cursor/rules/always.mdc,sha256=0ZifFwIAnp6uN9eKV0kuqwr0uJTKdHRfHA5DG2iwNKM,1740
4
+ cursor_boilerplate/.cursor/rules/fastapi.mdc,sha256=P0cNEenTXbcS-e45z4SvJMlnfeoEElSSDIkDQq1Z95s,1802
5
+ cursor_boilerplate-0.7.4.dist-info/METADATA,sha256=R5Iwt9GpPghjrpGBltKzarSal7ho5eaK_kNGE_WenFU,1017
6
+ cursor_boilerplate-0.7.4.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
7
+ cursor_boilerplate-0.7.4.dist-info/entry_points.txt,sha256=gD8ysizP4178GaTgjq9pSphgrTkKaZxOAvMEovAmB7E,67
8
+ cursor_boilerplate-0.7.4.dist-info/top_level.txt,sha256=y8dzxEXg0CC4ruHYL8vncncXIsOpqUqGV-8kqErgMHU,19
9
+ cursor_boilerplate-0.7.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (79.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- cursor_boilerplate/__init__.py,sha256=fNOyX5PWOth_NRK0jMtT8zTeiViIztHHz0FylQfqRzQ,22
2
- cursor_boilerplate/cli.py,sha256=9i1IEZcaIpFr3tFX3lereiYMjW2F2J7N4CyJcjMNjg8,1506
3
- cursor_boilerplate/.cursor/rules/always.mdc,sha256=ngDQZ7PTntSEQS0trB6ZKFHndQTaEFPoQNqFuSpG4RA,1652
4
- cursor_boilerplate-0.7.2.dist-info/METADATA,sha256=ETqMON0UooXkzWdf824iBPm8pmD0wA7wk6pP-BzPGio,1017
5
- cursor_boilerplate-0.7.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
6
- cursor_boilerplate-0.7.2.dist-info/entry_points.txt,sha256=gD8ysizP4178GaTgjq9pSphgrTkKaZxOAvMEovAmB7E,67
7
- cursor_boilerplate-0.7.2.dist-info/top_level.txt,sha256=y8dzxEXg0CC4ruHYL8vncncXIsOpqUqGV-8kqErgMHU,19
8
- cursor_boilerplate-0.7.2.dist-info/RECORD,,