RoadTripMoustache / kana_to_kanji

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

feat: Implement a `KnowledgeLevelsService` #226

Open apomalyn opened 4 months ago

apomalyn commented 4 months ago

As a developer, I want a service to interact with the KnowledgeLevel collection

Requirements

Implement a KnowledgeLevelService that interacts with the database. It should have the following methods:

What needs to be done

Implement under src/core/services, a KnowledgeLevelsService that implements the methods from the requirements.

For the getNextToReview method, orderByAdditionalReview order the results by ascendent additional_review_before_next_review

Dependencies

Child of #218

Depends on:

Dev notes