Commit Graph

6 Commits

Author SHA1 Message Date
gaba 94ade6f6fe Renames to userProfile, change name to displayname. Changes objectid for uuid. 2016-11-02 13:44:16 -07:00
gaba 85b7096cec Adds one method. 2016-11-02 09:21:05 -07:00
gaba 0c9b80617c Change to access the foreign keys by ref.
http://mongoosejs.com/docs/populate.html
2016-11-01 14:41:24 -07:00
gaba c56eba1226 * Adds identifier and hide _id.
* Gets only the user for subdocuments and not the whole document.
2016-11-01 14:29:06 -07:00
gaba 4ec6da6ed7 Use mongoose that already is in the repo. It changes var to const. 2016-11-01 13:50:04 -07:00
gaba d80b3bc27f Adding a draft for models. 2016-11-01 13:35:09 -07:00