- Fork this repository
- Write all of your code in a directory named
lab-+<your name>e.g.lab-brian - Push to your repository
- Submit a pull request to this repository
- Submit a link to your PR in canvas
- Write a question and observation on canvas
package.json.eslintrcgulpfile.js.gitignoreREADME.md
- Continue working on the
expressandmongoDBREST API that you started yesterday - Include an additional resource that contains a "relationship" to the single resource that has already been created
- Create
GET,POST,PUT, andDELETEroutes for your newly added resource - Test your application to ensure that it meets the standard criteria of a working full CRUD REST API
- Use
populatein theget()route logic your/api/new-resource-name/:idroute to populate the associated property used to house related resources (ex:List.findById(req.params.id).populate('notes'))