Hi,
I currently have one Meteor project where I host both the app available for users and the admin app. I want to split this into 2 different Meteor projects.
One reason I liked having the 2 in one project, is that I share some server code. For example, I have functions to do checks on the formats of the fields of each object. When I split the project, I’d like to still be able to use functions that I share, for example those functions that ensure the data format. That way I’m sure the data is in the right format when inserting and updating, and I don’t want to maintain that logic in multiples places/apps).
What is the best practice around this?
Thanks