BaderLab / GenomeClinic-PGX

Web application for clinical pharmacogenomic interpretation
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Add Mongoose ODM to manage DB connections #180

Open patmagee opened 8 years ago

patmagee commented 8 years ago

Data structures are not currently strictly enforced, enbaling a large amount of inconsistancies to be added to the database.

Mongoose will solve this by performing ALL data validation required, as well as all other operations, abstracting much of the required logic and allowing Mongoose to handle it.

We would then require functions to sit ontop of the Mongoose models to deliver View models to the client