https://github.com/vyomrastogi/musicshare-api
https://github.com/vyomrastogi/musicshare-api
galvanize learn-repo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vyomrastogi/musicshare-api
- Owner: vyomrastogi
- Created: 2021-01-30T15:26:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-30T23:08:50.000Z (over 4 years ago)
- Last Synced: 2024-04-16T11:23:28.024Z (about 1 year ago)
- Topics: galvanize, learn-repo
- Language: Java
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Blueprint
| PlaylistController | PlaylistService | PlaylistRepository |
|-------------------------------------------------|--------------------------------------------|--------------------|
| createPlaylist(playListName) (name - required) | Playlist createPlaylist(playListName) | save |
| addSong to Playlist (playlistId, songName) | addSongToPlaylist -> validate if song exists | save |
| deleteSong from playlist (playlistId, songName) | removeSongFromPlaylist -> validate if song exists | save |
- Open Question : can two playlists have same name ?
- Allow duplicate name, and identify uniquely from id
ResponseBody :
```json
{
"data": {
"playlist":{
"id": ""
"songs" :[
"songNames","songNames"
]
}
},
"message":"string"
}
```