TenantVoice / TenantVoice

TenantVoice looks to empower tenants to enforce accountability, fostering a collaborative environment that promotes sustained housing quality improvements
0 stars 0 forks source link

Develop Home.jsx to render posts #28

Open nico-j3 opened 3 months ago

nico-j3 commented 3 months ago

Context


In /frontend/src/pages create a new file called Home.jsx where posts from multiple users will be rendered in the /home endpoint. Create a component named HomePage with its own posts state to keep track of. It needs to import the adapter getAllPosts from ../adapters/post-adapter in order get data for and set state for posts. The logged-in user will be able to click to see all posts or click to see posts filtered by thecomplex name in their location.

Requirements

Image

MohamedSy1 commented 3 months ago

@roenc576 update please