working on onboarding flow
This commit is contained in:
1 parent
868eaa5e3d
commit
d3a36b6103
19 files changed
+2062
-393
No files matched your search
@@ -1,29 +1,30 @@
|
||||
export const API_BASE_URL = __DEV__
|
||||
? 'https://e0877d294c41.ngrok-free.app'
|
||||
: 'https://your-production-url.com'
|
||||
? "https://e0877d294c41.ngrok-free.app"
|
||||
: "https://your-production-url.com";
|
||||
|
||||
export const API_ENDPOINTS = {
|
||||
AUTH: {
|
||||
LOGIN: '/api/auth/login',
|
||||
REGISTER: '/api/auth/register',
|
||||
LOGIN: "/api/auth/login",
|
||||
REGISTER: "/api/auth/register",
|
||||
},
|
||||
PROFILE: {
|
||||
FITNESS: '/api/profile/fitness',
|
||||
FITNESS: "/api/profile/fitness",
|
||||
},
|
||||
CLIENTS: '/api/clients',
|
||||
USERS: '/api/users',
|
||||
CLIENTS: "/api/clients",
|
||||
USERS: "/api/users",
|
||||
GYMS: "/api/gyms",
|
||||
ATTENDANCE: {
|
||||
CHECK_IN: '/api/attendance/check-in',
|
||||
CHECK_OUT: '/api/attendance/check-out',
|
||||
HISTORY: '/api/attendance/history',
|
||||
CHECK_IN: "/api/attendance/check-in",
|
||||
CHECK_OUT: "/api/attendance/check-out",
|
||||
HISTORY: "/api/attendance/history",
|
||||
},
|
||||
RECOMMENDATIONS: '/api/recommendations',
|
||||
RECOMMENDATIONS: "/api/recommendations",
|
||||
FITNESS_GOALS: {
|
||||
LIST: '/api/fitness-goals',
|
||||
CREATE: '/api/fitness-goals',
|
||||
LIST: "/api/fitness-goals",
|
||||
CREATE: "/api/fitness-goals",
|
||||
GET: (id: string) => `/api/fitness-goals/${id}`,
|
||||
UPDATE: (id: string) => `/api/fitness-goals/${id}`,
|
||||
DELETE: (id: string) => `/api/fitness-goals/${id}`,
|
||||
COMPLETE: (id: string) => `/api/fitness-goals/${id}/complete`,
|
||||
},
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user