-
add a plant: ZZ plant
-
go to ZZ plant detail page => add reminders => set title & future time: utc timestamp 19JUL17:30:00 (seen: false by default, status: pending by default) => sent to backend as unix timestamp
-
GET /plant/reminders 1. get all reminders
timestamp < currentUTCtimestamp2. set status to 'expired' 3. get all reminders timestamp reminders.seen == false 4. show return value from 3 on frontend route: api/user/reminders 5. user sees a reminder in this case WATER ZZ in {remainingTime} : Mark as Done 6. if user MAD, set seen as true
Created
July 17, 2025 17:47
-
-
Save jaitjacob/e440c4a0087b58d6dc2c884905c5b7fe to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment