/* * File: authAPI.ts * Description: API service for authentication using apisauce * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */ import { create } from 'apisauce'; const api = create({ baseURL: 'https://api.example.com', // TODO: Replace with actual endpoint timeout: 10000, }); /** * login - authenticates user with email and password */ export const authAPI = { login: (email: string, password: string) => api.post('/login', { email, password }), // Add more endpoints as needed }; /* * End of File: authAPI.ts * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */