Open mwmadsen67 opened 1 year ago
Hi Jason, it looks like most of the info in your sample state is just ids. You should be listing all information that you would potentially need for rendering content on your page. So pretty much every column from your backend except for protected info like passwords and session tokens.
Additionally, restaurants will need references to image urls, so that is another thing you would add. Even though image urls aren't saved in the database, they will be able to be accessed using active storage and aws, which you'll read about later.
Hi Mike! Sorry I initially thought the purpose of the sample state document was to get an idea of the structure and nesting rather than actual content/keys. Took another shot with your feedback, thanks!!
Awesome. Looks good!
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