How zikirullo/nestar works
Nestar is a NestJS property-marketplace API with a companion batch process. The apparent user workflow is GraphQL access to member, property, article, and social features, backed by MongoDB models; batch jobs recalculate property and agent rankings. The README is only a generic Nest starter and documents no product capabilities. Resolver-to-service wiring and the precise database setup are not evidenced in the sampled material, so those links are omitted or marked unverified.
Main entry points: member.service.ts Member accounts · app.resolver.ts GraphQL resolver · property.service.ts Property listings · board-article.service.ts Board articles
Components 16
API surface
- GraphQL resolver
apps/nestar-api/src/app.resolver.ts - Authentication
apps/nestar-api/src/components/auth/auth.service.ts - GraphQL data contracts
apps/nestar-api/src/libs/dto - Batch controller
apps/nestar-batch/src/batch.controller.ts
Marketplace
- Property listings
apps/nestar-api/src/components/property/property.service.ts - View history
apps/nestar-api/src/components/views/view.service.ts - Ranking jobs
apps/nestar-batch/src/batch.service.ts
Community
- Member accounts
apps/nestar-api/src/components/member/member.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 - Member follows
apps/nestar-api/src/components/follow/follow.service.ts - Likes and favorites
apps/nestar-api/src/components/likes/likes.service.ts
Runtime and persistence
- Shared query helpers
apps/nestar-api/src/libs/config.ts - API MongoDB models
apps/nestar-api/src/schemas - Batch MongoDB models
apps/nestar-batch/src/database/database.module.ts
Other components
- Marketplace client
Connections 31
- Marketplace client → GraphQL resolver: queries and mutations
- GraphQL resolver → Authentication: dispatches to
- GraphQL resolver → Member accounts: dispatches to
- GraphQL resolver → Property listings: dispatches to
- GraphQL resolver → Board articles: dispatches to
- GraphQL resolver → Comments: dispatches to
- GraphQL resolver → Member follows: dispatches to
- Authentication → Member accounts: authenticates
apps/nestar-api/src/components/member/member.service.ts - Member accounts → View history: records profile views
apps/nestar-api/src/components/member/member.service.ts - Member accounts → Likes and favorites: toggles member likes
apps/nestar-api/src/components/member/member.service.ts - Property listings → Member accounts: updates member stats
apps/nestar-api/src/components/property/property.service.ts - Property listings → View history: gets visited properties
apps/nestar-api/src/components/property/property.service.ts - Property listings → Likes and favorites: gets favorites
apps/nestar-api/src/components/property/property.service.ts - Board articles → Member accounts: updates member stats
apps/nestar-api/src/components/board-article/board-article.service.ts - Board articles → View history: uses view service
apps/nestar-api/src/components/board-article/board-article.service.ts - Board articles → Likes and favorites: uses like service
apps/nestar-api/src/components/board-article/board-article.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 - Comments → Board articles: uses article service
apps/nestar-api/src/components/comment/comment.service.ts - Member accounts → Member follows: reads follow data
apps/nestar-api/src/components/member/member.service.ts - Property listings → Shared query helpers: uses query helpers
apps/nestar-api/src/components/property/property.service.ts - Board articles → Shared query helpers: uses query helpers
apps/nestar-api/src/components/board-article/board-article.service.ts - Likes and favorites → Shared query helpers: uses aggregation helper
apps/nestar-api/src/components/likes/likes.service.ts - View history → Shared query helpers: uses aggregation helper
apps/nestar-api/src/components/views/view.service.ts - Property listings → API MongoDB models: reads and writes
apps/nestar-api/src/components/property/property.service.ts - Board articles → API MongoDB models: reads and writes
apps/nestar-api/src/components/board-article/board-article.service.ts - Member accounts → API MongoDB models: reads and writes
apps/nestar-api/src/components/member/member.service.ts - Likes and favorites → API MongoDB models: reads and writes
apps/nestar-api/src/components/likes/likes.service.ts - View history → API MongoDB models: reads and writes
apps/nestar-api/src/components/views/view.service.ts - Batch controller → Ranking jobs: invokes jobs
apps/nestar-batch/src/batch.controller.ts - Ranking jobs → Batch MongoDB models: updates rankings
apps/nestar-batch/src/batch.service.ts