Skip to content

Latest commit

 

History

History
35 lines (17 loc) · 1.59 KB

sprint5.md

File metadata and controls

35 lines (17 loc) · 1.59 KB

Overview

In this sprint, you'll review and practice CRUD actions with Angular.

As you've seen, the data from the database includes songs. Now it's time to add the ability to CREATE, READ, UPDATE, and DELETE songs through the user interface.

Remember to follow the branching instructions to get started.

  1. Update your album show page to include UI elements for users to create, edit, and delete songs:

full-view

  1. Submitting the "+ Add Song" form should add a new song to the UI and the database.

  2. Clicking the delete button near each song should remove that song from the UI and from the database.

  3. Clicking the pencil icon near each song should allow editing that song. Create an inline edit form by changing the text on the page into an input field, removing the edit and delete buttons, and adding a green save button, like this:

inline-edit

  1. Make it happen!

Hints

  1. Right after you create your 'my-work-sprint-5' branch, run the solutions for sprint 4 and examine the (sprint 4 solution) starter code.

  2. Plan or pseudocode what you need to do before adding code.

  3. Reference Sprints 1-4.

  4. Make at least one commit for each feature you add from the list of tasks.

  5. Since there is no new view, you will not need to add a new client-side route or controller. You can add your new logic to the controller in charge of the view you're modifying.