The Playlist Manager is a simple web-based application that allows users to create and manage playlists. Users can view all playlists, inspect individual playlists, add and remove songs, and delete playlists.
- The homepage displays a list of all available playlists.
- Users can click on a playlist to view its details.
- The playlist details page shows all songs within the playlist.
- Users can create a new playlist by providing a name.
- Upon successful creation, the user is redirected to view the newly created playlist.
- Users can add songs to an existing playlist.
- The application ensures that songs are added only to valid playlists.
- After adding a song, the user is redirected back to the playlist view.
- Users can remove individual songs from a playlist.
- Once a song is removed, the playlist view is updated accordingly.
- Users can delete an entire playlist.
- Deleting a playlist removes all songs associated with it.
- Users visit the homepage to browse available playlists.
- They can create a new playlist or view existing ones.
- Within a playlist, users can add or remove songs.
- If needed, users can delete a playlist entirely.
Participants are expected to generate a table outlining the HTTP routes for this application. The table should include the following columns:
HTTP Method | Path | Purpose | Response Status Codes | Headers | Response Content |
---|---|---|---|---|---|
GET | / |
Displays the homepage with a list of playlists | 200 |
Content-Type: text/html |
HTML page with a list of playlists |
Each row should represent a different route within the application. The table should account for all the user actions described above.