- Api Url 공용 코드화
This commit is contained in:
geonhee-min
2025-12-15 09:03:05 +09:00
parent 8eaf51cf46
commit 9d36f44dbf

View File

@@ -0,0 +1,42 @@
export const HttpApiUrl = {
Account: {
base: '/account',
root: '/',
checkDuplication: '/check-duplication',
sendEmailVerificationCode: '/send-email-verification-code',
verifyEmailVerificationCode: '/verify-email-verification-code',
sendResetPasswordCode: '/send-reset-password-code',
verifyResetPasswordCode: '/verify-reset-password-code',
resetPassword: '/reset-password',
signup: '/signup',
login: '/login',
refreshToken: '/refresh-token'
},
Schedule: {
base: '/schedule',
getList: '/',
getDetail: '/:id',
create: '/create',
update: '/update',
delete: '/delete'
},
follow: {
base: '/follow',
getList: '/',
followUser: '/follow-user',
unfollowUser: '/unfollow-user'
},
comment: {
base: '/comment',
create: '/create',
update: '/update',
delete: '/delete'
},
notification: {
base: '/notification',
getList: '/',
getDetail: '/:id',
read: '/read',
delete: '/delete'
}
}