How to create a playlist

I'm creating a Spotify app.

I would like to create a playlist within that app. This feature is similar to the existing Favorites list in Spotify and other apps. The closest thing is Pinterest's board creation feature.

I want to be able to like and add content to lists I create.

I would like to know how to create the database necessary for this purpose, as well as how to display the list and take actions. First of all, I would like to know how to create a database.

You also need to be able to see a list of users who have added that content to their lists.