baas_sdk 0.1.0
baas_sdk: ^0.1.0 copied to clipboard
Reusable SDK for BAAS integration
Baas SDK #
Created the Flutter SDK using the Dio package for HTTP connections with the backend. The default configuration uses 'https://baas.pragmr.com' in the WorkioConfig file.
API Service: #
Implemented using Dio for backend communication.
Auth Service: #
Handles OTP and user authentication operations. Supports both REST and GraphQL endpoints for flexible integration. REST API: Used for sending OTP and user login. GraphQL: Added for new user registration and OTP verification. Dynamic parameters are passed to each method, allowing adaptable endpoint calls.
Exports: #
All API services, AuthService, and BaasConfig are exported in baas_sdk.dart for easy integration.