Create connection between Users, Prizes and Events collection
derogative404 opened this issue · comments
Sebastian Thomas commented
Description
Connect Users, Events and Prizes collections
Retrieve the list of events from the Events collection within the Users Collection.
Add aggregate fields totalStamps, StampsLeft, and prizesAchieved to the Users collection.
Proposed Solution
Acceptance Criteria
- primary and foreign key fields added for Users Collection
- primary and foreign key fields added for Events Collection
- primary and foreign key fields added for Prizes Collection
- create fields for totalStamps and eventList - updated whenever user logs in