Relationships between Mongo Documents
Creating and maintaining relatopnships between mongo documents enable powerful models to be constructed and queried.
Mongoose Seeding
Seeding the database can simplify exploratory development, prepopulating the database with simple test data during development.
Candidate Model
Users should be able to donate to different candidates. We extend the model to include Candidates, incorporating candidate references into donations.
Lab-11 Seeding
Include a mongoose seeder component in the application. Use this to validate a new Candidate model, preloading it with a json specified object graph.