├── .gitignore ├── LICENSE.md ├── README.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src ├── main ├── java │ └── nextstep │ │ ├── SubwayApplication.java │ │ ├── favorite │ │ ├── application │ │ │ ├── FavoriteService.java │ │ │ └── dto │ │ │ │ ├── FavoriteRequest.java │ │ │ │ └── FavoriteResponse.java │ │ ├── domain │ │ │ ├── Favorite.java │ │ │ └── FavoriteRepository.java │ │ └── ui │ │ │ └── FavoriteController.java │ │ └── member │ │ ├── AuthConfig.java │ │ ├── AuthenticationException.java │ │ ├── application │ │ ├── JwtTokenProvider.java │ │ ├── MemberService.java │ │ ├── TokenService.java │ │ └── dto │ │ │ ├── MemberRequest.java │ │ │ ├── MemberResponse.java │ │ │ ├── TokenRequest.java │ │ │ └── TokenResponse.java │ │ ├── domain │ │ ├── LoginMember.java │ │ ├── Member.java │ │ └── MemberRepository.java │ │ └── ui │ │ ├── AuthenticationPrincipal.java │ │ ├── AuthenticationPrincipalArgumentResolver.java │ │ ├── MemberController.java │ │ └── TokenController.java └── resources │ ├── application.properties │ └── logback-access.xml └── test └── java └── nextstep ├── favorite └── acceptance │ └── FavoriteAcceptanceTest.java ├── member └── acceptance │ ├── AuthAcceptanceTest.java │ ├── MemberAcceptanceTest.java │ └── MemberSteps.java └── utils ├── AcceptanceTest.java ├── DataLoader.java └── DatabaseCleanup.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/README.md -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/gradlew.bat -------------------------------------------------------------------------------- /src/main/java/nextstep/SubwayApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/SubwayApplication.java -------------------------------------------------------------------------------- /src/main/java/nextstep/favorite/application/FavoriteService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/favorite/application/FavoriteService.java -------------------------------------------------------------------------------- /src/main/java/nextstep/favorite/application/dto/FavoriteRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/favorite/application/dto/FavoriteRequest.java -------------------------------------------------------------------------------- /src/main/java/nextstep/favorite/application/dto/FavoriteResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/favorite/application/dto/FavoriteResponse.java -------------------------------------------------------------------------------- /src/main/java/nextstep/favorite/domain/Favorite.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/favorite/domain/Favorite.java -------------------------------------------------------------------------------- /src/main/java/nextstep/favorite/domain/FavoriteRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/favorite/domain/FavoriteRepository.java -------------------------------------------------------------------------------- /src/main/java/nextstep/favorite/ui/FavoriteController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/favorite/ui/FavoriteController.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/AuthConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/AuthConfig.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/AuthenticationException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/AuthenticationException.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/JwtTokenProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/JwtTokenProvider.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/MemberService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/MemberService.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/TokenService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/TokenService.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/dto/MemberRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/dto/MemberRequest.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/dto/MemberResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/dto/MemberResponse.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/dto/TokenRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/dto/TokenRequest.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/application/dto/TokenResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/application/dto/TokenResponse.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/domain/LoginMember.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/domain/LoginMember.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/domain/Member.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/domain/Member.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/domain/MemberRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/domain/MemberRepository.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/ui/AuthenticationPrincipal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/ui/AuthenticationPrincipal.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/ui/AuthenticationPrincipalArgumentResolver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/ui/AuthenticationPrincipalArgumentResolver.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/ui/MemberController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/ui/MemberController.java -------------------------------------------------------------------------------- /src/main/java/nextstep/member/ui/TokenController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/java/nextstep/member/ui/TokenController.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/logback-access.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/main/resources/logback-access.xml -------------------------------------------------------------------------------- /src/test/java/nextstep/favorite/acceptance/FavoriteAcceptanceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/favorite/acceptance/FavoriteAcceptanceTest.java -------------------------------------------------------------------------------- /src/test/java/nextstep/member/acceptance/AuthAcceptanceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/member/acceptance/AuthAcceptanceTest.java -------------------------------------------------------------------------------- /src/test/java/nextstep/member/acceptance/MemberAcceptanceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/member/acceptance/MemberAcceptanceTest.java -------------------------------------------------------------------------------- /src/test/java/nextstep/member/acceptance/MemberSteps.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/member/acceptance/MemberSteps.java -------------------------------------------------------------------------------- /src/test/java/nextstep/utils/AcceptanceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/utils/AcceptanceTest.java -------------------------------------------------------------------------------- /src/test/java/nextstep/utils/DataLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/utils/DataLoader.java -------------------------------------------------------------------------------- /src/test/java/nextstep/utils/DatabaseCleanup.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/atdd-subway-favorite/HEAD/src/test/java/nextstep/utils/DatabaseCleanup.java --------------------------------------------------------------------------------