Code Monkey home page Code Monkey logo

anticorona-1's Introduction

3rd Team Project

코로나 백신 접종 알리미

Repositories

전체 소스 받기

git clone --recurse-submodules https://github.com/dt-3team/anticorona.git

Table of contents

서비스 시나리오

기능적 요구사항

  • 백신 관리자는 백신정보 및 재고를 등록한다.
  • 백신 관리자는 백신 재고를 추가한다.
  • 고객은 접종을 예약한다.
  • 고객은 접종 예약을 취소 할 수 있다.
  • 접종 예약수량은 백신 재고수량을 초과 할 수 없으며, 백신 수량이 부족한 경우 예약대기로 신청된다.
  • 고객이 접종 완료 하면, 예약 수량과 재고 수량이 감소한다.
  • 고객이 방문하여 접종하면 접종 관리자에 의해 접종완료된다.
  • 고객은 예약정보를 확인 할 수 있다.
  • 예약 서비스는 게이트웨이를 통해 고객과 통신한다.

비기능적 요구사항

  • 트랜잭션
    • 예약 수량은 재고 수량을 초과하여 예약 할 수 없다. (Sync 호출)
      계산식
      예약 가능 백신 재고 수 - 예약 백신 수 >= 1
  • 장애격리
    • 백신접종 기능이 수행되지 않더라도 백신예약은 365일 24시간 받을 수 있어야 한다. Async (event-driven), Eventual Consistency
    • 예약시스템이 과중 되면 사용자를 잠시동안 받지 않고 예약을 잠시후에 하도록 유도한다. Circuit breaker, fallback
  • 성능
    • 고객은 MyPage에서 본인 예약 상태를 확인 할 수 있어야 한다. (CQRS)

분석/설계

AS-IS 조직 (Horizontally-Aligned)

Horizontally-Aligned

TO-BE 조직 (Vertically-Aligned)

Vertically-Aligned

Event Storming 결과

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.