- Added ProfileCard component to display user profile information. - Created DashboardLayout for consistent layout structure. - Defined Campaign and related types for campaign management. - Developed CampaignDetailPage for viewing individual campaign details. - Implemented CampaignsPage for listing and filtering campaigns. - Enhanced DashboardPage with user profile fetching and navigation. - Built RegisterPage for user profile registration and updates. - Added user service for fetching and updating user profiles. - Established campaigns service for managing campaign data and interactions. - Updated routing constants and router configuration for new pages.
16 lines
450 B
TypeScript
16 lines
450 B
TypeScript
export const API_ADDRESS = {
|
|
BASE_URL: "https://yarigaran-back.pelekan.org",
|
|
auth: {
|
|
otp: "/api/SignUpLoginBySMS",
|
|
verifyOtp: "/api/verifyloginbysms",
|
|
},
|
|
select: "/api/select",
|
|
save: "/api/save",
|
|
// LOGIN: "/auth/login",
|
|
// VERIFY_OTP: "/auth/verify-otp",
|
|
// REGISTER: "/auth/register",
|
|
// REFRESH_TOKEN: "/auth/refresh-token",
|
|
// USER_PROFILE: "/user/profile",
|
|
// UPDATE_PROFILE: "/user/update-profile",
|
|
};
|