Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.06 KB

File metadata and controls

23 lines (16 loc) · 1.06 KB

Many to Many

Part 1

  1. Finish building CRUD in the many to many application with employees and departments. You can find the starter code here

Your app should have the following features:

  • Full CRUD on employees
  • Full CRUD on departments
  • The index or show page for employees should show the department name for each employee
  • The index or show page for departments should show all employees in the department
  • Use WTForms for all CRUD operations for both employees and departments

Part 2

Add another resource to your users and messages application! Create a resource for tags which has a many to many relationship with messages.

  • You should be able to create full CRUD on tags
  • When you create a message, you should be able to add existing tags to it.
  • When you edit a message, you should be able to modify the tags associated to it.
  • When you create a tag, you should be able to add existing messages to it.
  • When you edit a tag, you should be able to modify the messages associated to it.