Mobile App
Backend Integration

Backend Integration

  1. Dependencies:

    • Ensure the dio package is added to your pubspec.yaml.
  2. Code Integration:

    • Backend API calls are managed using Dio in lib/core/api/api_client.dart.
    • Set the baseUrl in ApiClient.
    • Use ApiClient().get(endpoint) with optional query parameters when needed.
    • Use ApiClient().post(endpoint, body).
    • Use ApiClient().put(endpoint, body).
    • Use ApiClient().delete(endpoint).