In order to encourage our initial user's to share the app with friends, I am making the app invite only. Hopefully this will not only encourage user's to think about who else might want to use this, but also action on it with metrics inside the app.
Implementation
[x] Update Player model with a pending value of true which signifies they have not received an invite.
[x] Create a new model called Invite which will contain all the invited user's and their email addresses, as well as the person who shared it to them
[x] Update the share endpoint to add the shared person to the invite list
[x] Change the front-end app to not show app until the user's pending value is false
[x] When a new user signs up, check if they are in the invite list and adjust pending value accordingly
[x] Update the shared endpoint so that if a user signs up before it is shared, it changes their pending value and lets them know they can now use the app
In order to encourage our initial user's to share the app with friends, I am making the app invite only. Hopefully this will not only encourage user's to think about who else might want to use this, but also action on it with metrics inside the app.
Implementation
pending
value oftrue
which signifies they have not received an invite.Invite
which will contain all the invited user's and their email addresses, as well as the person who shared it to thempending
value isfalse