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

πŸš€ 1단계 - 경둜 쑰회 νƒ€μž… μΆ”κ°€ #112

Merged
merged 18 commits into from
Feb 19, 2022

Conversation

loop-study
Copy link

μ•ˆλ…•ν•˜μ„Έμš”! λ¦¬λ·°μ–΄λ‹˜
λ§ˆμ§€λ§‰ μ£Όμ°¨λ₯Ό μ§„ν–‰ν•˜κ²Œ 된 λ°•ν˜„μ² μž…λ‹ˆλ‹€. πŸ™‡πŸ»β€β™€οΈ
이번 첫단계λ₯Ό μ§„ν–‰ν•˜λ©΄μ„œ λ¬Έμ„œν™” μ»€μŠ€ν„°λ§ˆμ΄μ§•μœΌλ‘œ μž‘μ„±ν–ˆμ§€λ§Œ
gradle이 μ œλŒ€λ‘œ 인식이 μ•ˆλ˜μ–΄μ„œ μ›ν•˜λŠ” λͺ¨μŠ΅μœΌλ‘œ 좜λ ₯이 λ˜μ§€ μ•Šκ³  μžˆμŠ΅λ‹ˆλ‹€ 😭

image
image
image
이λ₯Ό ν•΄κ²°ν•  수 μžˆλŠ” 방법이 μžˆλ‹€λ©΄ ν‚€μ›Œλ“œ λΆ€νƒλ“œλ¦¬κ² μŠ΅λ‹ˆλ‹€.

그리고 λΆ€μ‘±ν•œ 점이 λ§Žμ•„ 확인 λΆ€νƒλ“œλ¦¬κ² μŠ΅λ‹ˆλ‹€.
κ°μ‚¬ν•©λ‹ˆλ‹€. πŸ™‡πŸ»β€β™€οΈ

2022. 02. 17.
README.md
- μ‹€μŠ΅ 사항 정리

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
build.gradle
- μ½”λ“œ μˆ˜μ •

index.adoc
- μ½”λ“œ μˆ˜μ •

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathDocumentation
- λ¬Έμ„œν™” μ‹€μŠ΅

PathSteps
- λ¬Έμ„œν™” λ„μš°λ―Έ 클래슀

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
README.md
- step1 μš”κ΅¬μ‚¬ν•­ 정리

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathAcceptanceTest
- λ…Έμ„ κ³Ό ꡬ간에 인자둜 μ†Œμš”μ‹œκ°„ μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
LineRequest, SectionRequest
- μ†Œμš”μ‹œκ°„ μΆ”κ°€
- κ΄€λ ¨ ν…ŒμŠ€νŠΈλ„ μˆ˜μ •

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathAcceptanceTest
- ν…ŒμŠ€νŠΈ λͺ…λͺ… μˆ˜μ •

PathDocumentation
- ν…ŒμŠ€νŠΈ μŠ€ν…λΉ™μ— μ†Œμš”μ‹œκ°„ μΆ”κ°€

PathResponse
- μ†Œμš”μ‹œκ°„ μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathAcceptanceTest, PathDocumentation, PathSteps
- μ‹œκ°„κ³Ό 거리λ₯Ό κ΅¬λΆ„ν•˜λŠ” 인자 μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
μΆ”κ°€λœ μ†Œμš”μ‹œκ°„μ— κ΄€λ ¨λœ 클래슀 μˆ˜μ •

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathController
- 경둜 쑰회 λ©”μ„œλ“œμ— μ‹œκ°„κ³Ό μœ ν˜• νƒ€μž…μ„ κ΅¬λΆ„ν•˜λŠ” 인자 μΆ”κ°€

SubwayMap
- μœ ν˜• νƒ€μž… κ΅¬λΆ„μœΌλ‘œ 둜직 λ³€κ²½

Path
- μ΅œλ‹¨ μ‹œκ°„ λ©”μ„œλ“œ 호좜 μΆ”κ°€

κ΄€λ ¨λœ ν…ŒμŠ€νŠΈλ“€ μˆ˜μ •

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
SubwayMapTest, PathDocumentation
- μ΅œλ‹¨ μ‹œκ°„ ν…ŒμŠ€νŠΈ μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathAcceptanceTest, PathDocumentation, PathSteps
- μœ ν˜•μ— κ΄€ν•œ 쀑볡 μ½”λ“œ κ°œμ„ 

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathSteps
- 각 ν•„λ“œ μ„€λͺ… μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
PathAcceptanceTest
- ꡬ간을 μ’€ 더 κ΅¬λΆ„ν•˜κΈ° μœ„ν•œ 거리 및 μ‹œκ°„ μˆ˜μ •

Resolves : loop-study
See also : junwoochoi
Copy link

@junwoochoi junwoochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μ•ˆλ…•ν•˜μ„Έμš”! μ›ν•˜λŠ” λŒ€λ‘œ μ•ˆλ‚˜μ˜¨λ‹€λŠ” 말씀이 ν˜Ήμ‹œ μ•„λž˜ 사진 같은 λͺ¨μŠ΅μ„ μ›ν•˜μ…¨λ˜ κ±ΈκΉŒμš”?
image

μ•„λ§ˆ asciidoc/index.adoc에 μŠ€λ‹ˆνŽ« μΆ”κ°€λ₯Ό μ•ˆν•΄μ£Όμ…”μ„œ 그런 것 κ°™μŠ΅λ‹ˆλ‹€.
https://docs.spring.io/spring-restdocs/docs/current/reference/html5/#getting-started-using-the-snippets
μš”λ¬Έμ„œλ₯Ό ν™•μΈν•˜μ‹œλ©΄ 쑰금 도움이 λ˜μ‹€ 것 κ°™μ•„μš” :)

μΆ”κ°€μ μœΌλ‘œ λͺ‡κ°€μ§€ μ½”λ©˜νŠΈ λ‹¬μ•„λ³΄μ•˜λŠ”λ° 확인 λΆ€νƒλ“œλ¦½λ‹ˆλ‹€! πŸ™

README.md Show resolved Hide resolved
src/docs/asciidoc/index.adoc Outdated Show resolved Hide resolved
src/main/java/nextstep/subway/domain/Sections.java Outdated Show resolved Hide resolved
src/main/java/nextstep/subway/domain/Sections.java Outdated Show resolved Hide resolved
private List<Line> lines;
private String type;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type을 enum을 ν™œμš©ν•΄μ„œ ν‘œν˜„ν•΄λ³΄μ‹œλ©΄ μ–΄λ–¨κΉŒμš”?
https://velog.io/@nawhew/%EC%9E%90%EB%B0%94-Enum%EC%9D%84-%EB%8D%94-%EC%9E%98%EC%93%B0%EA%B8%B0-%EC%9C%84%ED%95%9C-%EB%B0%A9%EB%B2%95

return ResponseEntity.ok(pathService.findPath(source, target));
public ResponseEntity<PathResponse> findPath(@RequestParam Long source,
@RequestParam Long target,
@RequestParam String type) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type=BLABLA처럼 μ΄μƒν•œ 값이 듀어와도 DISTANCE만 μ•„λ‹ˆλ©΄ λ‹€ DurationκΈ°μ€€μœΌλ‘œ μ‘°νšŒκ°€ 되고 μžˆμ„ 것 κ°™λ„€μš” γ… γ… 

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μœ νš¨μ„±μ„ μžŠμ–΄λ²„λ Έλ„€μš”...πŸ™ˆ
λΉ λ₯΄κ²Œ μˆ˜μ •ν•˜κ² μŠ΅λ‹ˆλ‹€.

2022. 02. 17.
PathSteps.java
- λ¬Έμ„œμžλ™ν™” μ»€μŠ€ν„°λ§ˆμ΄μ§• μΆ”κ°€

index.adoc, path.adoc
- μ»€μŠ€ν„°λ§ˆμ΄μ§• λ¬Έμ„œ μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
μ—¬λŸ¬ 검증이 μ‘΄μž¬ν•˜λ©΄ assertAll둜 묢음 처리

Resolves : loop-study
See also : junwoochoi
2022. 02. 17.
String PathType을 Enum으둜 λ³€κ²½
- κ΄€λ ¨λœ 둜직 μˆ˜μ •
- κ΄€λ ¨λœ ν…ŒμŠ€νŠΈ λ³€κ²½

Resolves : loop-study
See also : junwoochoi
@loop-study
Copy link
Author

loop-study commented Feb 19, 2022

μ•ˆλ…•ν•˜μ„Έμš” λ¦¬λ·°μ–΄λ‹˜!
ν”Όλ“œλ°± λ°˜μ˜ν•˜μ—¬ μ œμΆœν•©λ‹ˆλ‹€.
μ»€μŠ€ν„°λ§ˆμ΄μ§•λ„ μ›ν•˜λŠ” λŒ€λ‘œ 좜λ ₯이 λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
image

확인 λΆ€νƒλ“œλ¦¬κ² μŠ΅λ‹ˆλ‹€!
κ°μ‚¬ν•©λ‹ˆλ‹€!πŸ™‡πŸ»β€β™€οΈ

Copy link

@junwoochoi junwoochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μ•ˆλ…•ν•˜μ„Έμš”! 1단계 λ―Έμ…˜ ν”Όλ“œλ°±λ„ 잘 μ μš©ν•΄μ£Όμ‹œκ³  λ¬Έμ„œν™”λ„ 잘 μ μš©ν•΄μ£Όμ…¨μŠ΅λ‹ˆλ‹€!
λ‹€λ§Œ, κΈ°μ‘΄ ꡬ간이 μ‚­μ œλ  λ•Œ 상행역 ν•˜ν–‰μ—­μ˜ μ†Œμš”μ‹œκ°„μ„ ν•©μ³μ£ΌλŠ” 것 이외에도

μ‹ λ…Όν˜„μ—­ --- 7km, 10λΆ„ ----------- μ–‘μž¬μ—­

μ—μ„œ 쀑간에 강남역이 μΆ”κ°€λ˜λŠ” 겨우, μ‹œκ°„μ„ μͺΌκ°œμ£ΌλŠ” 거리 뿐만 μ•„λ‹ˆλΌ μ‹œκ°„λ„ μͺΌκ°œμ€˜μ•Όν•˜λŠ” 데 ν•΄λ‹Ή λΆ€λΆ„ 적용이 λ―Έν‘ν•œ 것 κ°™μŠ΅λ‹ˆλ‹€ ν•œλ²ˆ 확인 λΆ€νƒλ“œλ¦½λ‹ˆλ‹€ πŸ™

μ‹ λ…Όν˜„μ—­ --3km, 4λΆ„ --- 강남역 ----4km, 6λΆ„ ---- μ–‘μž¬μ—­

2022. 02. 17.
Sections
- 쀑간ꡬ역 좔가에 λ‹€λ₯Έ μ†Œμš”μ‹œκ°„ λˆ„λ½ μˆ˜μ •

LineTest
- 쀑간ꡬ역 좔가에 λˆ„λ½λœ μ†Œμš”μ‹œκ°„ 검증 μΆ”κ°€

Resolves : loop-study
See also : junwoochoi
@loop-study
Copy link
Author

μ•ˆλ…•ν•˜μ„Έμš” λ¦¬λ·°μ–΄λ‹˜.
λ†“μΉœ λΆ€λΆ„ μ•Œλ €μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€.
쀑간 ꡬ역 λ‹¨μœ„ν…ŒμŠ€νŠΈμ— μ†Œμš”μ‹œκ°„ 검증도 μΆ”κ°€ν•˜μ—¬ ν™•μΈν•˜λ„λ‘ λ³€κ²½ν–ˆμŠ΅λ‹ˆλ‹€!
확인 λΆ€νƒλ“œλ¦½λ‹ˆλ‹€.
κ°μ‚¬ν•©λ‹ˆλ‹€.

Copy link

@junwoochoi junwoochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ν”Όλ“œλ°± μ μš©ν•΄μ£Όμ‹  λΆ€λΆ„ ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€!!!
μŠ€ν…2도 ν™”μ΄νŒ…μž…λ‹ˆλ‹€!πŸ˜πŸ™Œ

@junwoochoi junwoochoi merged commit 581663c into next-step:loop-study Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants