How azizbekreimbaev/nestar works
Nestar appears to be a real-estate community API, with a separate batch application that recalculates property and agent rankings. The principal workflow is an API request entering through NestJS/GraphQL, being handled by a domain service, and reading or updating MongoDB; listings and articles can also record views and likes. The tree shows member, follow, comment, and notification capabilities, though their full request paths were not sampled. Edges without direct source evidence are marked dashed with no evidence path.
Main entry points: member.service.ts Member accounts · app.module.ts GraphQL API · property.service.ts Property listings · board-article.service.ts Board articles
Components 14
API entry
- GraphQL API
apps/nestar-api/src/app.module.ts - Realtime socket
apps/nestar-api/src/socket/socket.gateway.ts
Members and social
- Authentication
apps/nestar-api/src/components/auth/auth.service.ts - Member accounts
apps/nestar-api/src/components/member/member.service.ts - Follow relationships
apps/nestar-api/src/components/follow/follow.service.ts
Listings and content
- Property listings
apps/nestar-api/src/components/property/property.service.ts - Board articles
apps/nestar-api/src/components/board-article/board-article.service.ts - Comments
apps/nestar-api/src/components/comment/comment.service.ts
Engagement and rankings
- Likes and favorites
apps/nestar-api/src/components/like/like.service.ts - View history
apps/nestar-api/src/components/view/view.service.ts - Ranking jobs
apps/nestar-batch/src/batch.service.ts - Notifications
apps/nestar-api/src/schemas/Notification.model.ts
Other components
- API client
- MongoDB
Connections 25
- API client → GraphQL API: sends requests
- GraphQL API → Authentication: authenticates
- GraphQL API → Member accounts: routes requests
- GraphQL API → Property listings: routes requests
- GraphQL API → Board articles: routes requests
- GraphQL API → Follow relationships: routes requests
- GraphQL API → Comments: routes requests
- Member accounts → Authentication: hashes passwords
apps/nestar-api/src/components/member/member.service.ts - Property listings → View history: records views
apps/nestar-api/src/components/property/property.service.ts - Property listings → Likes and favorites: toggles likes
apps/nestar-api/src/components/property/property.service.ts - Board articles → Member accounts: updates stats
apps/nestar-api/src/components/board-article/board-article.service.ts - Board articles → View history: records views
apps/nestar-api/src/components/board-article/board-article.service.ts - Board articles → Likes and favorites: toggles likes
apps/nestar-api/src/components/board-article/board-article.service.ts - Member accounts → View history: uses history
apps/nestar-api/src/components/member/member.service.ts - Member accounts → Likes and favorites: uses likes
apps/nestar-api/src/components/member/member.service.ts - Member accounts → Follow relationships: uses follow data
apps/nestar-api/src/components/follow/follow.service.ts - Comments → Member accounts: uses member service
apps/nestar-api/src/components/comment/comment.service.ts - Comments → Property listings: uses property service
apps/nestar-api/src/components/comment/comment.service.ts - Ranking jobs → MongoDB: updates rankings
apps/nestar-batch/src/batch.service.ts - Member accounts → MongoDB: reads and writes
apps/nestar-api/src/components/member/member.service.ts - Property listings → MongoDB: reads and writes
apps/nestar-api/src/components/property/property.service.ts - Likes and favorites → MongoDB: reads and writes
apps/nestar-api/src/components/like/like.service.ts - View history → MongoDB: reads and writes
apps/nestar-api/src/components/view/view.service.ts - Follow relationships → MongoDB: reads and writes
- Realtime socket → API client: sends updates