create-kalp-boilerplate
Version:
A Kalp CLI tool to generate a React boilerplate
21 lines (19 loc) • 438 B
text/typescript
// API Configuration
export const API_CONFIG = {
BASE_URL: '', //add your Base URL here
TIMEOUT: 30000, // 30 seconds
HEADERS: {
"Content-Type": "application/json",
},
};
// API Endpoints
export const API_ENDPOINTS = {
WALLET: {
CONNECT_WALLET: "/connect",
WALLET_DATA: "/data",
},
AUTH: {
GET_USER_PROFILE: "/users/profile",
LOGOUT_USER: "/users/logout",
},
};