algonauti / flutter-rest-data

Easily persist on device REST data from your backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_rest_data

This package is built on top of rest_data. It uses sembast to store on local device all data coming from your REST backend.

CI

Introduction

It provides your app with a REST Adapter which behaves as follows - see rest_data's Readme to learn what an Adapter is in these packages 😉

  • While device is online, it just stores on local device all REST data coming from the backend.
  • When device is offline:
    • it returns data from local device on read operations
    • it stores added, updated and deleted records on local device
  • When device gets back online (TODO):
    • it processes added, updated and deleted queues by sending the appropriate requests to the REST backend.

To be continued...

About

Easily persist on device REST data from your backend

License:Other


Languages

Language:Dart 82.6%Language:HTML 11.4%Language:Ruby 4.1%Language:Swift 1.2%Language:Kotlin 0.4%Language:Objective-C 0.1%