Skip to content

[유니콘 기업 합격, 연봉 5000만원 이상] 음식점 줄서기와 관련하여 편리함을 제공하는 서비스입니다.

Notifications You must be signed in to change notification settings

f-lab-edu/tabling

Repository files navigation

테이블링 서비스

현장에서 직접 대기하지 않고, 식당에 대기 할 수 있는 서비스

  • 식당 이용객은 순서를 기다리기 위해 현장에서 대기하지 않아도 된다.
  • 식당측은 간편하게 대기열을 관리할 수 있다.





기술 스택

  • Backend: Java 17, Spring Boot 3.1.3, Spring Data JPA, Spring Rest Docs
  • DevOps: MySQL 8.2.0, Redis, Docker, Naver Cloud Platform, Prometheus, Grafana, Ngrinder





인프라 아키텍처

project_structure






시퀀스 다이어그램

로그인

sequenceDiagram
    actor A as client
    participant AuthController
    participant AuthFacade
    participant TwoWayCipherService
    participant MemberQueryService
    participant MemberRepository
    participant OneWayCipherService
    participant SessionService
    A ->> AuthController: 로그인 요청
    AuthController ->> AuthFacade: 사용자 인증 및 세션 생성
    AuthFacade ->> TwoWayCipherService: 이메일 암호화
    AuthFacade ->> MemberQueryService: 암호화된 이메일로 사용자 조회
    MemberQueryService ->> MemberRepository: 사용자 도메인 조회
    AuthFacade ->> OneWayCipherService: 비밀번호 일치 여부 확인
    AuthFacade ->> SessionService: 사용자 식별자와 이름을 세션에 추가
Loading

식당 조회

sequenceDiagram
    actor A as client
    participant StoreController
    participant StoreFacade
    participant StoreQueryService
    participant StoreRepository
    A ->> StoreController: 식당 조회 요청
    StoreController ->> StoreFacade: 응답 DTO 조회
    StoreFacade ->> StoreQueryService: 응답 DTO 조회
    StoreQueryService ->> StoreRepository: 식당 도메인 조회
Loading

식당 대기

sequenceDiagram
    actor A as client
    participant WaitingController
    participant WaitingFacade
    participant StoreQueryService
    participant MemberQueryService
    participant WaitingService
    participant WaitingRepository
    A ->> WaitingController: 식당 대기 요청
    WaitingController ->> WaitingFacade: 대기열 생성
    WaitingFacade ->> StoreQueryService: 식당 도메인 조회
    WaitingFacade ->> MemberQueryService: 사용자 도메인 조회
    WaitingFacade ->> WaitingService: 대기열 도메인 생성
    WaitingService ->> WaitingRepository: 생성한 대기열을 DB에 저장
Loading





프로젝트 컨벤션



문제 해결 및 성능 개선



트레이드 오프 및 고찰






ERD


image


About

[유니콘 기업 합격, 연봉 5000만원 이상] 음식점 줄서기와 관련하여 편리함을 제공하는 서비스입니다.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •