How mirzayv/nestar-next works
Nestar is a real-estate portal frontend: visitors discover properties and agents, members can manage listings and engage with community content, and administrators manage site records. The main discovery flow starts at the homepage or a search page, retrieves GraphQL data, and renders listings or agent cards; detail pages provide the next stage. Member and admin workflows form separate branches. The README is only the default Next.js template, so product capabilities are inferred from the route and component tree; unsampled page wiring is not assumed.
Main entry points: index.ts Authentication · client.ts Apollo Client · property/index.tsx Property Search · agent/index.tsx Agent Search
Components 23
Property Discovery
- Home
pages/index.tsx - Property Search
pages/property/index.tsx - Property Detail
pages/property/detail.tsx - Agent Search
pages/agent/index.tsx - Agent Detail
pages/agent/detail.tsx - About
pages/about/index.tsx
Community and Support
- Community
pages/community/index.tsx - Article Detail
pages/community/detail.tsx - Help Center
pages/cs/index.tsx - Admin Console
pages/_admin/index.tsx
Member Workspace
- My Page
pages/mypage/index.tsx - Member Profile
pages/member/index.tsx - Join Account
pages/account/join.tsx - Authentication
libs/auth/index.ts
App and Data Access
- User State
apollo/store.ts - Apollo Client
apollo/client.ts - User Operations
apollo/user/query.ts - User Mutations
apollo/user/mutation.ts - Admin Operations
apollo/admin/query.ts - Admin Mutations
apollo/admin/mutation.ts
Other components
- Visitor
- GraphQL API
- Subscription API
Connections 25
- Visitor → Home: opens
- Visitor → Property Search: searches
- Visitor → Agent Search: searches
- Visitor → Community: browses
- Visitor → Help Center: seeks help
- Visitor → About: views
- Home → Property Search: opens listings
- Home → Agent Search: opens agents
- Property Search → Property Detail: opens listing
- Agent Search → Agent Detail: opens profile
- Visitor → Join Account: joins
- Join Account → Authentication: registers
- My Page → User State: reads
- Authentication → User Mutations: executes
- Authentication → Apollo Client: initializes
- Authentication → User State: updates
- Apollo Client → Authentication: gets token
- Community → User Operations: queries articles
- Property Search → User Operations: queries listings
- Agent Search → User Operations: queries agents
- Member Profile → User Operations: queries member
- Admin Console → Admin Operations: queries records
- Admin Console → Admin Mutations: changes records
- Apollo Client → GraphQL API: sends requests
- Apollo Client → Subscription API: opens subscriptions