RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

refactor: Call /sync to know which data sync needs to be done #219

Closed Adaendra closed 1 month ago

Adaendra commented 2 months ago

As a developer, I want to optimise calls to the API. To do so, we need to call first the GET /sync endpoint from the API to know which kind of resources had updates.

Requirements

The following tasks need to be processed as a prerequisite :

What needs to be done

In the initial data load when the application is opened, call the GET /sync endpoint from the API.

Then, with the result, call the right api endpoint for each kind of resources which needs an update.

Dependencies

Depends on:

Documentation