Skip to content
This repository was archived by the owner on Aug 13, 2022. It is now read-only.

Package Structure

Maestro6788 edited this page Aug 18, 2021 · 2 revisions

# 프로젝트 구조

├── main
   └── java
         └── com.flab.foodeats
             ├── domain
             ├── global
             └── infra

# 도메인 구조

├── domain
   └── member
       ├── api            (controller)
       ├── application    (service)
       ├── mapper
       ├── dto
       ├── entity         (entity / Enum(공통적인) )
       ├── common         
       ├── dto            
       └── exception      (errorcheck or erroradvice or errorcode)

                        ├── api            
                        ├── application           
                        ├── mapper        
                        ├── dto
                        ├── entity
                        ├── common
                        ├── config            
                        └── exception

# 전체 구조

├── main
│   ├── java
│   │   └── com
│   │       └── flab
│   │           └── foodeats
│   │               ├── domain
│   │               │   ├── user
│   │               │   │   ├── api            
│   │               │   │   ├── application           
│   │               │   │   ├── mapper        
│   │               │   │   ├── dto
│   │               │   │   ├── entity
│   │               │   │   ├── common
│   │               │   │   ├── config            
│   │               │   │   └── exception 
│   │               │   ├── shop
│   │               │   │   ├── api            
│   │               │   │   ├── application           
│   │               │   │   ├── mapper        
│   │               │   │   ├── dto
│   │               │   │   ├── entity
│   │               │   │   ├── common
│   │               │   │   ├── config            
│   │               │   │   └── exception   
│   │               │   ├── search
│   │               │   │   ├── api            
│   │               │   │   ├── application           
│   │               │   │   ├── mapper        
│   │               │   │   ├── dto
│   │               │   │   ├── entity
│   │               │   │   ├── common
│   │               │   │   ├── config            
│   │               │   │   └── exception 
│   │               │   ├── menu
│   │               │   ├── order
│   │               │   └── model (미정)
│   │               │       ├── user.java
│   │               │       ├── shop.java
│   │               │       └── search.java
│   │               │
│   │               ├── global
│   │               │   ├── common
│   │               │   │   ├── request
│   │               │   │   └── ApiResponse
│   │               │   ├── config
│   │               │   │   ├── WebConfig.class
│   │               │   │   ├── SecurityConfig.class
│   │               │   │   ├── resttemplate
│   │               │   │   └── security
│   │               │   ├── error
│   │               │   │   ├── ErrorResponse.java
│   │               │   │   ├── GlobalExceptionHandler.java
│   │               │   │   └── exception
│   │               │   └── util
│   │               │
│   │               └── infra (미정 / 잘 모르겠음 뭐가 들어가야 할지)
│   │                   ├── email
│   │                   └── sms
│   │                       ├── AmazonSmsClient.java
│   │                       ├── SmsClient.java
│   │                       └── dto
│   └── resources
│       └── application.yml
Clone this wiki locally