emilysellers / blogs-with-comments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo Blogs with Comments

Warm Up Instructions

  1. Clone the template to your own github
  2. Get the two routes in the blogs controller passing

Note that the approach for adding comments to blogs is different from how we have done it in the past with JSON blobs -- read through the model functions and see if you can figure it out

Demo

  1. Review the GET routes including new approach to add related records
  2. Demo refactor of test code when needing logged in users
  3. Demo adding related records (comments)
  4. Demo deleting comments
  5. Deploy!

About


Languages

Language:JavaScript 98.8%Language:Shell 1.2%