Skip to content

음식점 줄서기와 관련하여 편리함을 제공하는 서비스입니다.

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



CI/CD

CI_CD_pipeline_v2



주요 기능 시퀀스 다이어그램

로그인

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: 사용자 식별자와 이름을 세션에 추가

식당 조회

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

식당 대기

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에 저장


브랜치 전략



유스케이스



API 명세



ERD


image


About

음식점 줄서기와 관련하여 편리함을 제공하는 서비스입니다.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published