- 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
.eslintrc
gulpfile.js
.gitignore
README.md
- Continue working on the
express
andmongoDB
REST 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
, andDELETE
routes for your newly added resource - Test your application to ensure that it meets the standard criteria of a working full CRUD REST API
- Use
populate
in theget()
route logic your/api/new-resource-name/:id
route to populate the associated property used to house related resources (ex:List.findById(req.params.id).populate('notes')
)