StanfordBDHG / ENGAGE-HF-Firebase

Firebase cloud hosting infrastructure for the ENGAGE-HF project.
MIT License
0 stars 1 forks source link

Add invitation related data to data scheme chapter #6

Closed pauljohanneskraft closed 3 weeks ago

pauljohanneskraft commented 3 weeks ago

Problem

The README file currently doesn't contain a section on how to handle invitation codes before they have been associated with a user.

Solution

Based on the existing cloud function, we should add a new collection /invitations containing the invitation codes and other invitation-related information before a user has been associated with the invitation code. Also, add a dateOfEnrollment property to each user.

Additional context

https://github.com/StanfordBDHG/ENGAGE-HF-Firebase/pull/4#discussion_r1643605652

Code of Conduct