jg-chickenbook / chickenbook

Chickenbook client app
https://jg-chickenbook.github.io/chickenbook/
1 stars 0 forks source link

Fetch All Visible Users #29

Closed milojezek closed 2 months ago

milojezek commented 6 months ago

We need to be able to fetch all visible users to display them on the home page. It would be best to create a hook for fetching the list. When the hook is created it's used in the homepage component. Ideally, the hook handles loading and errors as well.

Definition of done:

milojezek commented 6 months ago

We're able to fetch data from the server. We need some default data in the database.

@Aberran || @trnecka Please, prepare some default data (visible users/profiles). I've shared our type/model with @Aberran but feel free to write to me if you need anything.