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

페이지 라우팅, API Path 상수화 #96

Open
1 task
metacode22 opened this issue Mar 7, 2023 · 0 comments
Open
1 task

페이지 라우팅, API Path 상수화 #96

metacode22 opened this issue Mar 7, 2023 · 0 comments
Assignees
Labels
Priority: Low 우선순위: 낮음 Refactor 유형: 리팩터링

Comments

@metacode22
Copy link
Collaborator

📕 작업 설명

페이지 라우팅, API Path 상수화

📖 To-Do list

  • 페이지 라우팅, API Path 상수화

/food-party/my/123, /api/v1/user/me 등을 상수화

router.push('/food-party/my/123');

...

export const fetchUser = async () => {
  const { data } = await axiosAuthApi.get<MyProfileType>('/api/v1/user/me');
  return data.data;
};
@metacode22 metacode22 added Priority: Low 우선순위: 낮음 Refactor 유형: 리팩터링 labels Mar 7, 2023
@metacode22 metacode22 self-assigned this Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low 우선순위: 낮음 Refactor 유형: 리팩터링
Projects
None yet
Development

No branches or pull requests

1 participant