UCLA-Creative-Labs / aurgy-backend

the logic behind generating out-of-body music playlists
MIT License
3 stars 0 forks source link

🚀 Feature: create a song class to interact with `songs` table #10

Closed BryanPan342 closed 2 years ago

BryanPan342 commented 2 years ago

Similar to #8 we need to create a class to manage our songs.

Proposed Solution

Something along the lines of:

public interface SongProps {
  ...
}

class Song extends DbItem {

  constructor(id: string, props: SongProps) {
    ...
  }
  ...
}

This is a :rocket: Feature Request