Read from assets/challenge.json and save in SQLite DB
Table challenge {
time_interval PK NOT NULL
name TEXT NOT NULL
description TEXT NOT NULL
lowest_reward INT NOT NULL
highest_reward INT NOT NULL
done BOOL DEFAULT false
}
ChallengeRepository will handle loading challenge from DB
When interval is incremented from Home, ChallengeRepository will be queried with param time_interval
Read from
assets/challenge.json
and save in SQLite DBChallengeRepository
will handle loading challenge from DBWhen interval is incremented from Home,
ChallengeRepository
will be queried with paramtime_interval