Closed cdellacqua123 closed 2 years ago
users
only has a username
while the Schema says there should also be an email
, reviews
doesn't include any actual text of a review, etc. Make sure to fill out the "missing" info and keep it consistent with your Schema.pictures
here that's not mentioned in your Schema. If you're planning on using pictures, look into AWS, you'll have a couple extra tables in your Schema rather than an array of pictures/picture URL's stored in the products
model. Because it will be connected to your products via a has_many_attached
relation, you can keep the images: array
with maybe a fake URL instead of array
, just make a note on the bottom that it's stored via the relation rather than directly in the model. We'll talk about it in more during our one on one!You don't need to include sessionToken
nor passwordDigest
in your state, there's really no time when you'd be bringing that information from the backend to the front. You also don't need to include the ...more
after sections of your state. You also have seller_name
in your Sample State but seller_id
in your Schema.
```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