Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#7] msw 설정 #8

Merged
merged 15 commits into from
May 5, 2024
Merged

[#7] msw 설정 #8

merged 15 commits into from
May 5, 2024

Conversation

03hoho03
Copy link
Contributor

@03hoho03 03hoho03 commented May 4, 2024

🧑🏻‍💻 작업 내용

msw 관련 설정 및 적용을 하였습니다.

🚀 중요한 포인트

.env.development.local 환경변수에
NEXT_PUBLIC_MOCK_BASE_URL=http://localhost:9090/api
NEXT_PUBLIC_API_MOCKING=enabled
추가 필요
msw 활성화를 위해 npm run mock 을 실행해야 합니다.
handlers 에 mocking 할 api 추가시 해당 api 를 intercept 합니다.

@hanseulhee hanseulhee added the feat label May 5, 2024
@hanseulhee hanseulhee linked an issue May 5, 2024 that may be closed by this pull request
3 tasks
@03hoho03 03hoho03 merged commit 426743d into main May 5, 2024
2 checks passed
@03hoho03 03hoho03 deleted the feat/#7 branch May 5, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[feat] msw 설정
2 participants