open-api
open-api copied to clipboard
Inactive Days
Describe the solution you'd like
On the repo https://github.com/freeCodeCamp/classroom-mode we are scraping Free Code Camp for the users inactive days, so I would like to query a user and see a timestamp of the last submission.
Sounds completely reasonable to me.
How we approach this would be related to the solution agreed on in #181
- Without storing of solutions, add
lastSubmissionto the user model, and have responsible functions set/update the timestamp. - If we do keep on storing solutions, well it depends on the implementation chosen 😄
(blocked on discussion in #181)