Is your feature request related to a problem? Please describe.
To enable users to access their individual referral codes, it is imperative to establish an API endpoint designed to facilitate the retrieval of a user's referral code.
Describe the solution you'd like
Expose an endpoint with the signature below
[GET] /user
It should communicate with Mongodb'sUser Collection as described here #450 and will return the entire user document containing a referral code.
Is your feature request related to a problem? Please describe. To enable users to access their individual referral codes, it is imperative to establish an API endpoint designed to facilitate the retrieval of a user's referral code.
Describe the solution you'd like
Mongodb's
User
Collection as described here #450 and will return the entire user document containing a referral code.Additional context