1// API Configuration 2const API_CONFIG = { 3 BASE_URL: 'https://api.pushpacabs.com/api/v1', 4 SOCKET_URL: 'https://api.pushpacabs.com', 5 GOOGLE_MAPS_API_KEY: 'AIzaSyDrlzzBxjZiXN3XiwZqf0H3OCfYkDdqKCo', 6 TIMEOUT: 30000 7}; 8 9// For Firebase JS SDK v7.20.0 and later, measurementId is optional 10const firebaseConfig = { 11 apiKey: "AIzaSyAhxFhY6cSXKXRZZPngg5fpLu8kETzNCmA", 12 authDomain: "pushpa-2e631.firebaseapp.com", 13 databaseURL: "https://pushpa-2e631-default-rtdb.firebaseio.com", 14 projectId: "pushpa-2e631", 15 storageBucket: "pushpa-2e631.firebasestorage.app", 16 messagingSenderId: "972545060384", 17 appId: "1:972545060384:web:0cce46428eb5a6ccf45645", 18 measurementId: "G-ESGC3CFNBP" 19}; 20 21// API Endpoints 22const API_ENDPOINTS = { 23 // Auth 24 FIREBASE_LOGIN: `${API_CONFIG.BASE_URL}/auth/firebase-login`, 25 SEND_OTP: `${API_CONFIG.BASE_URL}/auth/send-otp`, 26 VERIFY_OTP: `${API_CONFIG.BASE_URL}/auth/verify-otp`, 27 28 // Users 29 REGISTER_USER: `${API_CONFIG.BASE_URL}/users/register`, 30 USER_PROFILE: `${API_CONFIG.BASE_URL}/users/profile`, 31 32 // Services (Public endpoint - no auth required) 33 GET_SERVICES: `${API_CONFIG.BASE_URL}/auth/services`, 34 35 // Rides 36 ESTIMATE_FARE: `${API_CONFIG.BASE_URL}/rides/services`, 37 CREATE_RIDE: `${API_CONFIG.BASE_URL}/rides`, 38 GET_RIDE: `${API_CONFIG.BASE_URL}/rides`, 39 CANCEL_RIDE: `${API_CONFIG.BASE_URL}/rides`, 40 41 // Support 42 CONTACT_SUPPORT: `${API_CONFIG.BASE_URL}/support/tickets`, 43 GET_FAQ: `${API_CONFIG.BASE_URL}/support/faq` 44}; 45 46// Export for use in other files 47if (typeof module !== 'undefined' && module.exports) { 48 module.exports = { API_CONFIG, API_ENDPOINTS, firebaseConfig }; 49}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.