aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
blob: 5eb07980b1a8f6af93a9aa5e8126255f7a3038d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const BASE_URL: string = 'http://127.0.0.1:8000/';
const API_URL: string = BASE_URL + 'api/';
export const LOGIN_ENDPOINT: string = API_URL + 'login/';
export const LOGOUT_ENDPOINT: string = API_URL + 'logout/';
export const REGISTER_ENDPOINT: string = API_URL + 'register/';
export const SEND_OTP_ENDPOINT: string = API_URL + 'send-otp/';
export const VERIFY_OTP_ENDPOINT: string = API_URL + 'verify-otp/';
export const PROFILE_INFO_ENDPOINT: string = API_URL + 'user-profile-info/';
export const COVER_PHOTO_ENDPOINT: string = API_URL + 'large-profile-pic/';
export const AVATAR_PHOTO_ENDPOINT: string = API_URL + 'small-profile-pic/';
export const GET_IG_POSTS_ENDPOINT: string = API_URL + 'posts-ig/';
export const SEARCH_ENDPOINT: string = API_URL + 'search/';