Open mwmadsen67 opened 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:
tracks
should be called trackIds
and have an array of ids. 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:
GET api/users/:id
.GET api/songs
)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.
Yeah of course, thanks for making those changes CJ.
Wiki Page Home
Database Schema
back_ticked
back_ticked
back_ticked
Sample State
```javascript...```
). This will display the state as a code block instead of a giant line of textentities
session
errors
(here or inui
)ui
(if needed)comments
inside ofposts
MVP List
Backend Routes
snake_case
GET likes
api endpoint because that info comes through the post showFrontend Routes
camelCase
inline coding text
(backticks)