Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller, Serivice 일관성 수정 #3

Open
asdfg5415 opened this issue Apr 19, 2021 · 1 comment
Open

Controller, Serivice 일관성 수정 #3

asdfg5415 opened this issue Apr 19, 2021 · 1 comment
Assignees
Labels
refactor refator code

Comments

@asdfg5415
Copy link
Member

asdfg5415 commented Apr 19, 2021

Controller, Serivice 일관성 수정

Controller

  • 화면 단위로 생성

Service

  • Controller와 1대 1로 생성, 여러 개의 Repo

이외의 패키지 구조 개선

  • Exception
  • Security

내용

JWTController : LoginController
SignupController : SignupController
HomeController : HomeController
AlarmController : HomeController
ChatController : ChatController
ProjectController : ProjectController <- UserController
ProjectCommentController : ProjectCommentController
ProjectApplyController : ProjectApplyController

UserPoolController : UserPoolController
MyProjectController : MyProjectController
ReviewController : UserReviewController <- ComplimentMarkController
MyPageController : MyPageController
MyPageEditController : MyPageEditController
UserPortfolioController : UserPortfolioController 여러개
InqueryController
AnnouncementController
ReportController : ReportController

@asdfg5415 asdfg5415 added the refactor refator code label Apr 19, 2021
@asdfg5415 asdfg5415 changed the title 프로젝트 패키지 구조 변경 Controller, Serivice 일관성 수정 Apr 19, 2021
@welshimeat
Copy link
Contributor

추가적으로 해야할 일

  • Controller:

    • HomeController를 alarmController로 분리
    • UserController를 ProjectController에 병합
    • ComplimentMarkController를 ReviewController에 병합
  • Service:

    • UserService를 ProjectService에 병합
    • HashtagService, PositionService을 SignupSerivce에 병합
    • ComplimentMarkService를 ReviewService에 병합

welshimeat added a commit that referenced this issue May 2, 2021
- Controller 분리 병합
HomeController를 alarmController로 분리
UserController를 ProjectController에 병합
ComplimentMarkController를 ReviewController에 병합
- Service 분리 병합
UserService를 ProjectService에 병합
HashtagService, PositionService을 SignupSerivce에 병합
ComplimentMarkService를 ReviewService에 병합
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor refator code
Projects
None yet
Development

No branches or pull requests

2 participants