ChristopherJose707 / Soundcheck

A fullstack SoundCloud clone that allows users to upload tracks and play songs from other artists.
0 stars 0 forks source link

FSP To-Do List #1

Open mwmadsen67 opened 3 years ago

mwmadsen67 commented 3 years ago

Wiki Page Home


Database Schema


Sample State


MVP List


Backend Routes


Frontend Routes

mwmadsen67 commented 3 years ago

Hey CJ, great work so far on your design docs! I just have a few comments:

MVP List: The comments MVP looks kind of weird to me. This should be formatted more like the other MVPs, like the description should be bullet points underneath rather than the name of the MVP. Everything else is good.

Schema: The users table looks a little bare. Since users are also artists, it would be good if they could have a non-unique display name different from their login username. Its also worth thinking about if you want other columns that soundcloud has for their users, like bio/city/country but thats up to you. The rest of the schema looks good to me.

State Shape:

Frontend Routes: On soundcloud, they use a modal for sign in / sign up rather than different frontend routes, so those should be their own components without being tied to a route (at the same level as navbar, main, and footer). The rest is great.

Backend Routes:

ChristopherJose707 commented 3 years ago

Hey Mike, thanks for the feedback! I made a couple edits according to your suggestions.

You made a great point in the backend routes about distinguishing between the "discover" and users song index. To make it a bit clearer, I added a GET /api/users/:user_id/songs to get a users specific songs. For the "discover" I will be using the GET /api/songs and probably picking a couple to render on the page.

I also tweaked the comments routes by nesting it with songs. To me it makes more sense that you'd be only be able to see, make, or delete a comment if you're on a song.

mwmadsen67 commented 3 years ago

Yeah of course, thanks for making those changes CJ.