nkowaokwu / igbo-api-admin

Data entry platform for the Igbo API.
https://editor.igboapi.com
Apache License 2.0
8 stars 20 forks source link

FE: Create a MongoDB User document upon successful sign up #457

Closed IfyNdu closed 11 months ago

IfyNdu commented 1 year ago

Is your feature request related to a problem? Please describe. As an integral component of constructing a referral system, it is essential to maintain a record of newly registered users who join the platform through each supported method. Upon successfully signing up to the platform, a request is made to #458 for creating a user in the system.

Describe the solution you'd like Ideally we want to capture users who sign up via any of the means below and duplicate users should be avoided

SSO options

Standard sign up

Additional context

  1. Software design document for inspiration.
IfyNdu commented 11 months ago

Won't fix, as we've opted to utilize a Firebase onCreate user listener for the purpose of mapping newly created users to a MongoDB user document and assigning a referral code.