Skip to content

Web service implementation that can create playlists from Swagger interface and has Couchbase as its datasource, created with Spring Boot.

Notifications You must be signed in to change notification settings

Melteos/Playlist-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playlist-API

Web service implementation that can create playlists from Swagger interface and has Couchbase as its datasource, created with Spring Boot.

This project was given as a homework from Trendyol Tech Team, during the Kodluyoruz Trendyol Tech Talent Bootcamp.

Requirements:

  • should create a bucket called playlist and it should hold inside it documents for user's playlists.

  • playlist should include id (can be generated with UUI) name, description, followersCount(int) tracks (list of track) trackCount(int), userId

  • track object should include: "name" , "length"(string) , artist(string)

Endpoints:

  • playlist create endpoint (save a playlist using a userId)

  • playlist findById endpoint (get playlist using playlistId)

  • playlist findAllByUserId endpoint (return all playlists of a user using userId) (used pagination)

  • playlist delete endpoint (delete playlist using playlistId)

  • add track to playlist endpoint (add track to a playlist using playlistId)

  • remove track to playlist endpoint (delete track from a playlist using playlistId)

  • get track of playlist endpoint (get track from a playlist using playlistId and index of track) (was not required)

About

Web service implementation that can create playlists from Swagger interface and has Couchbase as its datasource, created with Spring Boot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages