PixelogicDev / gruveebackend

This is the Backend work for Gruvee
MIT License
24 stars 4 forks source link

Adding CheckUsername && DocExist functions #47

Closed adilanchian closed 4 years ago

adilanchian commented 4 years ago

We needed to write two more functions to be able to finalize our Apple Auth Flow:

CheckUsername -> Allows for a username to be passed in and checks to see if it is available to use DocExists -> Checks to see if the userdocument is already there

During the onboarding flow we needed these because we weren't authenticated yet with Firebase.