baas_sdk 0.1.0 copy "baas_sdk: ^0.1.0" to clipboard
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.

0
likes
110
points
251
downloads

Publisher

unverified uploader

Weekly Downloads

Reusable SDK for BAAS integration

Repository (GitHub)
View/report issues

Topics

#sdk #baas #flutter #api

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, http, path, provider, shared_preferences

More

Packages that depend on baas_sdk