Skip to content

Conversation

@ShipFriend0516
Copy link
Member

@ShipFriend0516 ShipFriend0516 commented Nov 21, 2024

Note

  • 작성자: 서정우
  • 작성 날짜: 2024.11.21

✅ 체크리스트

  • 코드가 정상적으로 작동하는지 확인했습니다.
  • 주요 변경사항에 대한 설명을 작성했습니다.
  • 코드 스타일 가이드에 따라 코드를 작성했습니다.

🧩 작업 내용

  • 질문지 리스트 조회 API 연동

📝 작업 상세 내역

질문지 리스트 조회 및 상세 보기 API 사용

스크린샷 2024-11-21 210935

Vite Proxy 환경변수로 가리기

server: {
    proxy: {
      "/api": {
        target: env.VITE_API_URL,
        changeOrigin: true,
        secure: false,
        rewrite: (path) => path.replace(/^\/api/, ""), // 필요한 경우 경로 재작성
      },
    },
  },

질문지 리스트 페이지에서 조회

image

세션 생성시 질문지 ID 전달

socket?.emit("create_room", {
      title: roomData.title,
      maxParticipants: roomData.maxParticipants,
      status: roomData.status,
      category: roomData.category,
      questionListId: roomData.questionListId,
    });

Copy link
Member

@yiseungyun yiseungyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고 정말 많았습니다.
?....우
님....님

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants