Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
과제 제출 정보
주차: Week <06>
과제 유형:
구현 내용
프랜차이즈 카페 aggregator Dapp 개발
NestJS로 오프체인 서버 구축 및 서명 위임
서비스 아키텍처 설계
Architecture
flowchart LR U[User] FE[Frontend<br/>Next.js + wagmi + RainbowKit] BE[Backend<br/>NestJS + Prisma] DB[(PostgreSQL)] subgraph CHAIN[Sepolia] K[Kamin Contract] M[CafeMarket Contracts<br/>Starbucks / Twosome / Mega / Hollys] end U -->|wallet connect / order request| FE FE -->|GET menus / history / grass / summary| BE BE -->|read / write| DB BE -->|orderId, rewardAmount, signature| FE FE -->|confirmOrder| K K -->|recordOrder| M K -->|mint KAMIN| UOrder Flow
sequenceDiagram participant U as User participant FE as Frontend participant BE as Backend participant DB as PostgreSQL participant K as Kamin participant M as CafeMarket U->>FE: 주문 요청 FE->>BE: POST /order BE->>DB: 주문 저장 BE-->>FE: orderId, rewardAmount, signature FE->>K: confirmOrder K->>M: recordOrder K-->>U: KAMIN mint배운 점 (What I Learned)
이번 주에 배운 것 (2-3가지)
어려웠던 점과 해결 방법
어려웠던 점:
Nest.JS 프레임워크를 오프체인 서버로 처음 써봤습니다.
해결 방법:
Codex에게 디비 연결, API 개발, 프론트 연동 등을 맡겼습니다.
질문 사항
체크리스트
테스트
forge build성공forge test모든 테스트 통과제출 규칙
{username}/week-{XX}형식.env파일이 커밋에 포함되지 않음