I have a sailsJs project that manages login for different type of users i.e. user type1,user type2 etc. I have another sailsJs project that manages the services provided by these users, so i need to associate the user type model with the services they provide. What is the best way to achieve this? Basically if somehow i get the reference of all the user models in the other project, this can be achieved. I read about installable hooks but i am not sure how can i use it and there is not good tutorial available to use the same. Please guide me the way in which i can achieve this.
Thanks in advance.