Play is an API that serves and organizes favorite songs and playlists. It is hosted on heroku at https://turing-play-music.herokuapp.com/
'GET /api/v1/favorites'
This displays all the favorited songs
'GET /api/v1/favorites/:id'
This displays a single favorite by :id
'PUT /api/v1/favorites/:id'
This updates a favorite, and returns the id associated with the favorite.
'POST /api/v1/favorites' This adds a favorite to the database and returns its newly create id.
'DELETE /api/v1/favorites/:id'
This deletes a favorite and returns a 204 no content.
'GET /api/v1/playlists/'
This displays all the playlists and their respective favorites
'GET /api/v1/playlists/:id'
This displays a single playlists and its respective favorites
'POST /api/v1/playlists/:id/favorites/:id'
This adds a favorited song to a playlist
'Delete /api/v1/playlists/:id/favorites/:id'
This deletes a favorited song from a playlist
Javascript Kenx Express Travis CI Webpack