I’m developing a consumer and merchant management app with two extremely different views. They both though need to share the same database. I’m building both the apps using ionic+cordova so can I use a single meteor backend for both. I’m a newbie so I was planning on creating two different roles but is this approach correct. I mean for vastly different views a bunch of (IsinRole.customer or IsinRole.merchant may lead to an ugly code?)
Could someone please help me, in how should I plan it?
PS: Any existing open source usage of multiple roles and views would be appreciated.