I want to create three types of users:
- is admin (the person that crated a question)
- is Answer user
- is additional user that can ask question to the 2 user.
I want to try for backend, build it with FireBase. But i cant round my head how to build the Data structure, because I’m used to build my own Apis and I see that firebase doesn’t have an option of making schemes for user types.
And i will use for client , react native I can’t figure out what function I need to write so it will recognise the 3 types of users, and everything i found on the web it’s in old structure of components of classes and I’m trying to make it with the new method,
So if you can help me wrap my head around this because I don’t have a lot of experience of solving problems like this.
Its for a case study.