An open API service indexing awesome lists of open source software.

https://github.com/vyomrastogi/musicshare-api


https://github.com/vyomrastogi/musicshare-api

galvanize learn-repo

Last synced: about 1 month ago
JSON representation

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"
}

```