Exercise Thursday

Goal: Solidify everything you've learned this week, and prepare for tomorrow's independent project by completing the assignments detailed below.

Warm Up


  • What does CRUD stand for?
  • What are REST standards?
  • What do we mean when we say "Objects in Objects"

Code


Epicodus Blog

Follow along with last night's homework to complete the Epicodus Blog project! This includes adding update and delete functionality (and the corresponding routes).

More Update and Delete Practice

Get a little more practice using Update and Delete routes by adding them to other projects we've worked on this week. Revisit any of the classroom projects you have done a little work on this week, such as Job Board, Backpacking Tracker, Kombucha Tracker, Resume Creator etc, and add UPDATE and DELETE tests, backend, and routes, and frontend to them.

Full CRUD Project from Scratch

Now that you know how to implement all of the RESTful routes, try creating a project with complete RESTful functionality from scratch. This is great preparation for your code review tomorrow. Pick one of the above that sparks your interest, or create another similar project that interests you and your pair. Begin by testing, then adding backend, routes, and frontend.

Peer Code Review


  • Spark routes process GET and POST requests/responses successfully.
  • Spark routes follow RESTful conventions.
  • Application works as expected.
  • Project is in a polished, portfolio-quality state.
  • Tests have complete coverage for all behaviors in all classes, including getters and setters.
  • All tests are formatted correctly and pass.
  • Classes are encapsulated and getter methods are used to access properties.
  • Logic is easy to understand.
  • Build files are ignored with a .gitignore file.
  • Code and Git documentation follows best practices.