api_rest_flutter_web 1.0.0 copy "api_rest_flutter_web: ^1.0.0" to clipboard
api_rest_flutter_web: ^1.0.0 copied to clipboard

Platformweb

Flutter package for managing data operations with cloud backends. Provides a unified API layer for CRUD operations, data validation, schema management, and query building. Web-only support.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2024-11-26 #

Added #

  • Initial release with web-only support
  • ApiRest singleton class for core data operations
    • leeById(): Read single record by query
    • actualizar(): Update existing records with change tracking
    • guardar(): Save new records
    • obtener(): Query multiple records with pagination
    • obtieneEsquema(): Fetch collection schemas
    • cambiaEstado(): Update record state
  • UtilsDataApiRest utility class for data processing
    • obtenerData(): Retrieve and format data from collections
    • validaDataInMap(): Schema-based validation
    • agregaDynamicValueInMap(): Foreign key resolution
    • tokenizaConcatenacion(): MongoDB aggregation pipeline builder
  • Schema-driven validation with regex and type checking
  • MongoDB query syntax support ($and, $or, $regex)
  • Automatic change tracking (sends only modified fields)
  • Backend function execution during save/update operations
0
likes
150
points
436
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for managing data operations with cloud backends. Provides a unified API layer for CRUD operations, data validation, schema management, and query building. Web-only support.

Repository (GitHub)

Topics

#api #rest #cloud #crud #mongodb

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, flutter_data_cloud_provider, flutter_data_shp_provider, flutter_http_provider, flutter_models_provider, flutter_security_provider, flutter_utils_providers, intl

More

Packages that depend on api_rest_flutter_web