Gladius Club onboarding
Onboarding a user and setting up roles
Last updated
Onboarding a user and setting up roles
Last updated
This document describes the frontend and backend interactions for managing club ownership, courses, and memberships.
Frontend: Collects and sends owner's email and UID.
Backend: Triggers creation of the club owner user.
Backend: Authenticates and creates a user record with a wallet in /users
. Waits for document creation confirmation.
Frontend: Checks /users
for the new document.
Frontend: Invokes SignupGladiusClub
.
Backend: Processes club_owner_UID
and club_name
, creates club doc, sets the club name, copies wallet to /clubs/{clubUID}
, executes Stellar transaction to set as sports club (), adds owner to club doc, and assigns owner
role in club_roles
.
Frontend: Adds calendar link to club document.
Frontend: Calls SignupGladiusClubCourse
.
Backend: Requires parent UID, student UID, club UID, course/group ID to enroll student.
This compact format ensures quick reference and straightforward understanding, focusing on key processes and interactions.
Backend: Receives details, creates course in specified club ().