json_placeholder_flutter_example
json_placeholder_flutter_example copied to clipboard
Riverpod data caching and CRUD example with the JsonPlaceholder API
Riverpod data caching and CRUD example with the JsonPlaceholder API
A simple project showing how to use Riverpod to fetch and cache data from the jsonplaceholder API.
Motivation
I built this sample app to show how to do data caching with Riverpod.
For all the details, read this article:
Packages in use
- flutter_riverpod and riverpod_generator for data caching (and much more!)
- freezed for JSON serialization
- dio for networking