GithubHelp home page GithubHelp logo

cafekiosk's Introduction

Unit Test 예시 프로젝트 - Cafe Kiosk

1. 사용 기술

  • SpringBoot 2.7.7
  • H2 Database
  • Spring Data JPA

2. 요구사항

  • 주문 목록에 음료 추가/삭제 기능
  • 주문 목록 전체 지우기
  • 주문 목록 총 금액 계산하기
  • 주문 생성하기
  • 한 종류의 음료 여러 잔을 한번에 담는 기능
  • 가게 운영 시간(10:00~22:00) 외에는 주문을 생성할 수 없다
  • 키오스크 주문을 위한 상품 후보 리스트 조회 하기
    • 상품의 판매 상태 : 판매중, 판매보류, 판매 중지

      → 판매중, 판매보류인 상태의 상품을 화면에 보여준다.

    • 필요한 값 : id, 상품 번호, 상품 타입, 판매 상태, 상품 이름, 가격

  • 상품 번호 리스트를 받아 주문 생성하기
    • 주문은 주문 상태, 주문 등록 시간을 가진다.
    • 주문의 총 금액을 계산할 수 있어야 한다.
  • 주문 생성 시 재고 확인 및 개수 차감 후 생성하기
  • 재고는 상품번호를 가진다.
  • 재고와 관련 있는 상품 타입은 병 음료, 베이커리다.
  • 관리자 페이지에서 신규 상품을 등록할 수 있다.
    • 상품명, 상품 타입, 판매 상태, 가격 등을 입력받는다.

cafekiosk's People

Contributors

ifi999 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.