How febryannnn/victoria-property-frontend works
Victoria Property is a real-estate discovery and administration web application built with Next.js. Visitors browse and filter listings, open property details, and access favorites; account pages support login and registration. Admin routes cover dashboard statistics, users, and property management. The frontend’s service modules call a separately hosted backend through shared HTTP helpers. Sampled sources and the source index support these main routes and service boundaries; details of unsampled components and backend behavior are not inferred.
Main entry points: property.service.ts Property service · page.tsx Property catalog · http.ts HTTP helpers · dashboard.service.ts Dashboard service
Components 19
Property discovery
- Home experience
app/Index.tsx - Property catalog
app/properties/page.tsx - Search autocomplete
components/SearchAutoComplete.tsx - Property details
app/property/[id]/page.tsx - Listing card
components/PropertyCard.tsx
Accounts and favorites
- Saved properties
app/favorites/page.tsx - Login
app/login/page.tsx - Registration
app/register/page.tsx
Administration
- Admin dashboard
app/admin/dashboard/page.tsx - User administration
app/admin/users/page.tsx - Property administration
app/admin/properties/Properties.tsx
API and data
- Authentication service
lib/services/auth.service.ts - Property service
lib/services/property.service.ts - Favorites service
lib/services/favorites.service.ts - Dashboard service
lib/services/dashboard.service.ts - HTTP helpers
lib/http.ts - Property data types
lib/types/property.ts
Other components
- Visitor
- Hosted backend API
Connections 29
- Visitor → Home experience: opens
app/Index.tsx - Visitor → Property catalog: browses
app/properties/page.tsx - Property catalog → Search autocomplete: renders
app/properties/page.tsx - Property catalog → Property service: loads listings
app/properties/page.tsx - Property catalog → Favorites service: loads saved IDs
app/properties/page.tsx - Property catalog → Listing card: renders
app/properties/page.tsx - Search autocomplete → Property service: queries
components/SearchAutoComplete.tsx - Visitor → Property details: opens listing
app/property/[id]/page.tsx - Property details → Property service: loads listing
app/property/[id]/page.tsx - Visitor → Saved properties: views saved
app/favorites/page.tsx - Saved properties → Favorites service: loads favorites
app/favorites/page.tsx - Saved properties → Listing card: renders
app/favorites/page.tsx - Visitor → Login: signs in
app/login/page.tsx - Visitor → Registration: registers
app/register/page.tsx - Login → Authentication service: submits credentials
app/login/page.tsx - Registration → Authentication service: submits registration
app/register/page.tsx - Authentication service → HTTP helpers: sends requests
lib/services/auth.service.ts - Visitor → Admin dashboard: opens admin
app/admin/dashboard/page.tsx - Admin dashboard → Dashboard service: loads statistics
app/admin/dashboard/page.tsx - Visitor → User administration: manages users
app/admin/users/page.tsx - User administration → Dashboard service: loads users
app/admin/users/page.tsx - Visitor → Property administration: manages listings
- Property administration → Property service: delegates management
- Property service → HTTP helpers: sends requests
lib/services/property.service.ts - Favorites service → HTTP helpers: sends requests
lib/services/favorites.service.ts - Dashboard service → HTTP helpers: sends requests
lib/services/dashboard.service.ts - Property service → Property data types: uses types
lib/services/property.service.ts - Dashboard service → Property data types: uses types
lib/services/dashboard.service.ts - HTTP helpers → Hosted backend API: fetches API
lib/http.ts