How lendons765/nestfind_system works
NestFind is a rental marketplace for browsing listings, contacting owners, applying to rent, and managing listings, inquiries, and leases. The user-facing workflow runs through a routed React app; pages call client API modules, while the Express server mounts domain routes that query a PostgreSQL-backed pool. Authentication and email verification support tenant and owner workflows. The map includes major frontend and backend domains from the source index; some client-to-server links are omitted because the excerpts do not show their HTTP endpoint wiring.
Main entry points: index.ts HTTP application · App.tsx App routing · auth.ts Account routes · HomePage.tsx Home browsing
Components 34
Marketplace interface
- App routing
web/src/App.tsx - Home browsing
web/src/pages/HomePage.tsx - Listing search
web/src/pages/ListingSearchPage.tsx - Listing details
web/src/pages/ListingDetailPage.tsx - Create listing
web/src/pages/NewListingPage.tsx - Owner workspace
web/src/pages/OwnerDashboardPage.tsx - Tenant portal
web/src/pages/TenantPortalPage.tsx - Lease workspace
web/src/pages/LeasesPage.tsx - Login and verify
web/src/pages/LoginPage.tsx - Browse section
web/src/components/BrowseSection.tsx
Client data and session
- Session context
web/src/auth/AuthContext.tsx - Listing client
web/src/api/listings.ts - Owner client
web/src/api/owner.ts - Leasing client
web/src/api/leasing.ts - Tenant client
web/src/api/tenant.ts - Dashboard client
web/src/api/dashboard.ts
Marketplace API
- HTTP application
src/index.ts - Listing routes
src/routes/listings.ts - Listing editing
src/routes/listingEditing.ts - Applications and leases
src/routes/leasing.ts - Inquiries
src/routes/inquiries.ts - Owner operations
src/routes/owner.ts - Owner extras
src/routes/ownerExtras.ts - Tenant operations
src/routes/tenant.ts - Tenant extras
src/routes/tenantExtras.ts - Dashboard data
src/routes/dashboard.ts - Locations
src/routes/locations.ts - Listing media
src/routes/listingMedia.ts
Identity and email
- Account routes
src/routes/auth.ts - Verification codes
src/routes/codes.ts - Token authorization
src/auth.ts - Email code service
src/emailCodes.ts - Email delivery
src/mailer.ts
Other components
- Renters and owners
Connections 38
- Renters and owners → App routing: uses
- App routing → Home browsing: routes to
web/src/App.tsx - App routing → Listing search: routes to
web/src/App.tsx - App routing → Listing details: routes to
web/src/App.tsx - App routing → Create listing: routes to
web/src/App.tsx - App routing → Owner workspace: routes to
web/src/App.tsx - App routing → Tenant portal: routes to
web/src/App.tsx - App routing → Lease workspace: routes to
web/src/App.tsx - App routing → Login and verify: routes to
web/src/App.tsx - App routing → Session context: provides session
web/src/App.tsx - Home browsing → Browse section: renders
web/src/pages/HomePage.tsx - Listing search → Listing client: queries
web/src/pages/ListingSearchPage.tsx - Browse section → Listing client: queries
web/src/components/BrowseSection.tsx - Session context → Login and verify: supports
web/src/pages/LoginPage.tsx - Session context → Owner client: uses
web/src/pages/NewListingPage.tsx - Create listing → Owner client: submits listing
web/src/pages/NewListingPage.tsx - Tenant portal → Leasing client: loads leases
web/src/pages/TenantPortalPage.tsx - Tenant portal → Tenant client: loads tenant data
web/src/pages/TenantPortalPage.tsx - Home browsing → Dashboard client: loads dashboard
web/src/pages/HomePage.tsx - HTTP application → Listing routes: mounts
src/index.ts - HTTP application → Inquiries: mounts
src/index.ts - HTTP application → Account routes: mounts
src/index.ts - HTTP application → Owner operations: mounts
src/index.ts - HTTP application → Locations: mounts
src/index.ts - HTTP application → Listing editing: mounts
src/index.ts - HTTP application → Listing media: mounts
src/index.ts - HTTP application → Applications and leases: mounts
src/index.ts - HTTP application → Tenant operations: mounts
src/index.ts - HTTP application → Dashboard data: mounts
src/index.ts - HTTP application → Tenant extras: mounts
src/index.ts - HTTP application → Owner extras: mounts
src/index.ts - HTTP application → Verification codes: mounts
src/index.ts - Account routes → Token authorization: checks identity
src/routes/auth.ts - Account routes → Email code service: creates codes
src/routes/auth.ts - Account routes → Email delivery: sends email
src/routes/auth.ts - Verification codes → Email code service: uses codes
src/routes/codes.ts - Verification codes → Email delivery: sends email
src/routes/codes.ts - Applications and leases → Token authorization: authorizes
src/routes/leasing.ts