Hi everyone,
I'm working on the most overdone type of apps : an app to connect individuals offering a specific service to other individuals or businesses. Never seen before, I know.
I'm using firebase, and want to use google/ Facebook / Apple authentification for all the three types of users : a corporate user, the difference between him and the user is that he can enter his VAT number and Siren(= French corporate ID) for example.
And both of those users can see the listed individuals offering their one and only specific service.
My question is the following : What's the way to build an app that use 3 types of users to be able to connect/Create an account with google / Facebook / Apple / Email, and not having the same rights on the app, and a different UI ?
Because only one collection can be the "users collection" linked to Firebase.
Should I create subcollections for the users for each three categories with boolean permissions ?
Should everyone create a normal user account and then change its status, if yes, how ? I've never seen any tutorial that have shown that.
Moreover the one offering its service on the app will have a totally different interface once connected, can I use the same firebase for two different apps ? One for the users, one for the service providers ? Or is it about granting boolean permissions of visibility to some pages ?
I'm sure I'm not the only one to have asked theses types of questions, feel free to send me links of other threads or videos.
Thanks in advance !