[Front] 안건: 프로젝트 폴더/파일 구조 정리 #374
Bangdayeon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
배경
기능이 확장되면서
src하위 구조가 역할 기준과 도메인 기준이 혼재된 형태로 운영되고 있습니다.현재 구조는 다음과 같은 특징을 가집니다:
apis,hooks,stores,types,components등 역할 기준 분리chat,link,report,auth등 도메인 코드는 여러 상위 디렉토리에 분산apis,lib,app/api에 나뉘어 존재hooks디렉토리에 평면적으로 나열기능 수가 증가할수록 탐색 범위가 넓어질 가능성이 있습니다.
논의하고 싶은 내용
목적
처음 폴더 구조를 잡을 때 일단은 Layered 구조로 사용하고 개발 내용이 확정되고 확장해 나가며 필요에 따라 수립을 해나가자고 했었습니다. 현재 아직 도메인 분산이 체감되지는 않으나, 폴더 구조에 대한 정리 및 고민이 필요해보입니다.
Beta Was this translation helpful? Give feedback.
All reactions