It’s been a while since I last used Meteor and while I think my current project is a perfect fit for it I’m fairly lost as things have changed since pre 1.0 Meteor.
My main issues so far are as follows:
- I created a schema (simpl-schema) for my user model and placed it in
imports/users/user.jsbut it doesn’t get loaded automatically which matches what I expected. But how do I get the schema to attach so it can be used? Do I just import the file into the
- I am using social logins. I created a
imports/startup/server/useraccounts-configuration.jsas seemed logical. I had to get the code at least somewhat tested as working, so I threw it into the startup function in
server/main.js. Is that considered the go to way of managing that setup or is there a better way to organize that? I’d prefer to have it somewhere else to keep the main file cleaner.
I understand using other schemas/models as you define them and the collection they attach to and then import as needed. But any clarifications on the above would be appreciated.