How khderalromi/rentiful_client works
Rentiful is a rental marketplace for tenants and property managers. Tenants discover and filter listings, inspect a residence, and apply or contact its manager; managers create properties and manage applications, properties, and settings. Authentication and shared RTK Query state support these flows, with property and lease operations backed by a configured remote API. Search composition, detail-page children, and selected dashboard dependencies are visible in the source index; unsampled pages limit confidence about their internal calls.
Main entry points: AuthSlice.ts Auth and rental API · SearchContent.tsx Search composition · [id]/page.tsx Residence detail · login/page.tsx Sign in / up
Components 24
Public marketplace
- Landing page
app/(nondashboard)/landing/page.tsx - Search route
app/(nondashboard)/search/page.tsx - Search composition
app/(nondashboard)/search/SearchContent.tsx - Search filters
app/(nondashboard)/search/FiltersFull.tsx - Listing results
app/(nondashboard)/search/Listings.tsx - Map view
app/(nondashboard)/search/Map.tsx - Residence detail
app/(nondashboard)/search/[id]/page.tsx - Application flow
app/(nondashboard)/search/[id]/ApplicationModal.tsx - Manager contact
app/(nondashboard)/search/[id]/ContactWidget.tsx
Identity and API
- Sign in / up
app/(auth)/login/page.tsx - Auth and rental API
state/Auth/AuthSlice.ts - Rentiful server
- Search state
state/index.ts - Property schemas
lib/schemas.ts - API error messages
lib/error/errorHandler.ts
Tenant workspace
- Tenant applications
app/(dashboard)/tenants/applications/page.tsx - Tenant residences
app/(dashboard)/tenants/residences/[id]/page.tsx - Saved properties
app/(dashboard)/tenants/favourites/page.tsx
Manager workspace
- Create property
app/(dashboard)/managers/newProperty/page.tsx - Manage properties
app/(dashboard)/managers/properties/[id]/page.tsx - Review applications
app/(dashboard)/managers/applications/page.tsx - Account settings
components/SettingsForm.tsx
Other components
- Visitor / renter
- Property manager
Connections 23
- Visitor / renter → Landing page: browses
- Visitor / renter → Search route: searches
- Search route → Search composition: renders
app/(nondashboard)/search/page.tsx - Search composition → Search filters: renders
app/(nondashboard)/search/SearchContent.tsx - Search composition → Listing results: renders
app/(nondashboard)/search/SearchContent.tsx - Search composition → Map view: renders
app/(nondashboard)/search/SearchContent.tsx - Search composition → Search state: uses filters
app/(nondashboard)/search/SearchContent.tsx - Listing results → Residence detail: opens listing
- Residence detail → Application flow: renders
app/(nondashboard)/search/[id]/page.tsx - Residence detail → Manager contact: renders
app/(nondashboard)/search/[id]/page.tsx - Visitor / renter → Sign in / up: authenticates
app/(auth)/login/page.tsx - Sign in / up → Auth and rental API: calls mutations
app/(auth)/login/page.tsx - Sign in / up → API error messages: formats errors
app/(auth)/login/page.tsx - Property manager → Create property: creates listing
- Create property → Auth and rental API: creates property
app/(dashboard)/managers/newProperty/page.tsx - Create property → Property schemas: validates input
app/(dashboard)/managers/newProperty/page.tsx - Review applications → Auth and rental API: uses API state
app/(dashboard)/managers/applications/page.tsx - Tenant applications → Auth and rental API: uses API state
app/(dashboard)/tenants/applications/page.tsx - Tenant residences → Auth and rental API: uses API state
app/(dashboard)/tenants/residences/[id]/page.tsx - Manage properties → Auth and rental API: uses API state
app/(dashboard)/managers/properties/[id]/page.tsx - Account settings → Property schemas: validates settings
app/(dashboard)/managers/settings/page.tsx - Auth and rental API → Rentiful server: sends requests
state/Auth/AuthSlice.ts - Auth and rental API → Search state: uses property types
state/Auth/AuthSlice.ts