Skip to content

활동 후기 수집 데이터 반영 자동화 #122

Merged
froggy1014 merged 5 commits intodevelopfrom
feat/db-migration
Mar 14, 2025
Merged

활동 후기 수집 데이터 반영 자동화 #122
froggy1014 merged 5 commits intodevelopfrom
feat/db-migration

Conversation

@froggy1014
Copy link
Contributor

@froggy1014 froggy1014 commented Mar 13, 2025

Description

  • Promise.all()을 활용한 병렬 요청으로 빌드 시간 감소 ( 4.911s -> 1.581s )

  • 활동 후기 수집 데이터 반영 자동화

    • 구글폼 에 하나 제출해보시고, 로컬에서 빌드해보시면 추가되는거 확인이 가능합니다.

앞으로 활동수집은 구글폼만 사용하되 질문에서 기수만 추가하는 식으로 재사용하면 문제는 없을 것 같습니다.

  • 코드 리팩토링
    • 주석 추가
    • 함수 책임별 분리

@vercel
Copy link

vercel bot commented Mar 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sipe-team ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2025 4:16pm

Copy link
Contributor

@ProdMoon ProdMoon left a comment

Choose a reason for hiding this comment

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

좋습니다! 병합 하시져~

async function processConfigData(configRow) {
try {
if (!configRow || configRow.length === 0) {
console.warn('Config sheet is empty');
Copy link
Contributor

Choose a reason for hiding this comment

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

warning 센스 좋으네요 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

magic number들이 enum화 되면 좋을 것 같긴 한데, 너무 오버인 것 같기도 하구요... 엔터프라이즈 프로덕션 코드가 아니기 때문에 지금도 충분히 좋다고 생각합니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ProdMoon

처음에 index, magic number 다 상수화로 할려다가, 너무 길어지고 파일을 분리하기도 애매해서 롤백했습니다.

감사합니다 ~

@froggy1014 froggy1014 merged commit ad159ed into develop Mar 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants