-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
์์
์๋ฃ์์
์๋ฃ ์ํ์ธ ๊ฒฝ์ฐ (์ด์ ํ์)์์
์๋ฃ ์ํ์ธ ๊ฒฝ์ฐ (์ด์ ํ์)
Description
๐ ํ์ฌ ๋ฌธ์ ์
- SS-Auth, SS-Member ๋ชจ๋์ Controller, DTO, Domain์ด ๋ถ์ฐ๋์ด ์์ด ๋ ์ด์ด ๊ฒฝ๊ณ๊ฐ ๋ชจํธํจ
controller/dto/,service/dto/,domain/๋ฑ DTO๊ฐ ์ฌ๋ฌ ํด๋์ ์ฐ์ฌ- Controller๊ฐ ๊ฐ ๋๋ฉ์ธ ๋ชจ๋์ ์์นํ์ฌ HTTP ๊ด์ฌ์ฌ์ ๋น์ฆ๋์ค ๋ก์ง์ ์ฑ ์ ๋ถ๋ฆฌ๊ฐ ๋ถ๋ช ํ
LoginCommand,LoginResult๋ฑ ๋ถํ์ํ ์ค๊ฐ ๋ณํ DTO๊ฐ ์กด์ฌํ์ฌ ์ฝ๋ ๋ณต์ก๋ ์ฆ๊ฐ
๐ ๏ธ ํด๊ฒฐ ๋ฐฉ์
- Controller๋ฅผ SS-Web ๋ชจ๋๋ก ์ด๋ํ์ฌ HTTP ๊ด์ฌ์ฌ๋ฅผ ํ ๊ณณ์์ ๊ด๋ฆฌ
- ๊ฐ ๋ชจ๋์ DTO๋ฅผ ๋ชจ๋ ๋ฃจํธ
dto/ํด๋ ํ๋๋ก ํตํฉ - Command/Result ๋ณํ ํจํด์ ์ ๊ฑฐํ๊ณ Controller-Service ๊ฐ DTO ์ง์ ๊ณต์
- DTO ๋ค์ด๋ฐ ๊ท์น ํต์ผ (
{๋ฉ์๋๋ช }Request,{๋ฉ์๋๋ช }Response,{์๋ฏธ๋จ์}Dto) - DTO๋ Record, Entity๋ @builder ํด๋์ค๋ก ๊ตฌํ ๋ฐฉ์ ํต์ผ
โ๏ธ ์์ ๋ด์ฉ
- SS-Auth
dto/ํด๋ ํตํฉ (controller/dto+service/dto+domainโdto/) -
LoginCommand,LoginResult์ ๊ฑฐ โLoginRequest,LoginResponse์ง์ ์ฌ์ฉ - Controller ํด๋์ค๋ฅผ SS-Web ๋ชจ๋๋ก ์ด๋ (
controller/auth/,controller/member/) - SS-Web
WebConfig๋ฐ ๊ด๋ จ import ๊ฒฝ๋ก ์์ - ์ ์ฒด import ๊ฒฝ๋ก ์์ ๋ฐ ๋น๋ ํ์ธ
๐โโ๏ธ ๋ด๋น์
- ๋ฐฑ์๋: @Cassiiopeia
- ํ๋ก ํธ์๋: ์ด๋ฆ
- ๋์์ธ: ์ด๋ฆ
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
์์
์๋ฃ์์
์๋ฃ ์ํ์ธ ๊ฒฝ์ฐ (์ด์ ํ์)์์
์๋ฃ ์ํ์ธ ๊ฒฝ์ฐ (์ด์ ํ์)
Type
Projects
Status
์์
์๋ฃ