GithubHelp home page GithubHelp logo

product-order-service-kotlin's Introduction

product-order-service-kotlin

실전! 스프링부트 상품-주문 API 개발로 알아보는 TDD 강의 코틀린 버전


소개

  • 인프런 강의 실전! 스프링부트 상품-주문 API 개발로 알아보는 TDD 강의소스코드 를 코틀린으로 번환한 프로젝트입니다.

    • TDD 뿐 아니라 클린 아키텍쳐도 적용되어있어 굉장히 좋은 강의입니다.
    • 게다가 무료!
  • 자바 to 코틀린, 코틀린 to 자바를 학습하시려는 분들께 도움될까 싶어 만들었습니다.

    • 코틀린 쓰는 회사가 늘었으면 좋겠다. 코틀린 짱 좋은데

파일 위치를 동일하게 작성하였습니다.

java kotlin
폴더 구조 자바 폴더 구조 코틀린
폴더 구조 자바 2 폴더 구조 코틀린 2

원본 코드와 최대한 동일하게 동작하도록 작성하였지만, 코틀린의 언어적 특성으로 인해 생략되거나 변경된 코드들이 있습니다. (ex. 도메인 엔티티)

java kotlin
자바 2 코틀린 2
  • 코틀린에서는 DiscountPolicy에 null이 들어올 수 없어 null check 로직이 없어짐

kotlin test framework인 kotest의 편리함을 널리 알리고자, assertThat 대신 shouldBe를 사용하였습니다.

java kotlin
테스트 자바 1 테스트 코틀린 1

레퍼런스

더 알아보기

혹시 잘못된 점은 이슈나 pr을 통해서 알려주시면 최대한 빠르게 적용하겠습니다.

product-order-service-kotlin's People

Contributors

jaeykweon avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.