Open mwmadsen67 opened 5 years ago
Regarding my backend routes - should projects be nested under workspaces? Projects cannot be created unless the user is in a workspace.
Regarding frontend routes - tasks that are close to the deadline will show up on the user's home page. All the tasks can be found on the tasks index page. Should the home route contain the taskindex?
Tasks can optionally be assigned a project. Therefore, its project_id can be null. Usually foreign keys, are indexed. Should optional foreign keys be exempted?
For your backend routes, if creating something requires information that the user wouldn't necessarily input, (like a workspace or project id) then that route should be nested. I can imagine that creating projects would be nested under workspaces
For your frontend routes, you'll have a home tasks index. This will be different from your other tasks index because it only has a limited selection, but yes it should be included.
For now, I wouldn't index an optional foreign key. I will get you a more definite answer though.
I asked some other TAs. I think it's actually fine to index an optional foreign key. It's also something easily testable in rails c.
Done making changes! Does everything else look fine?
Wiki Page Home
Comments
MVP List
Comments
Database Schema
back_ticked
back_ticked
back_ticked
Comments
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
Comments
Backend Routes
snake_case
GET likes
api endpoint because that info comes through the post showComments
Frontend Routes
camelCase
inline coding text
(backticks)Comments