How theeduazizjon-cell/nestar works
Nestar is a real-estate and community backend, with an API for members, property listings, articles, comments, likes, follows, and views, plus a scheduled batch application. The principal user workflow is an API request to browse or manage property listings; sampled property logic also records views and coordinates member statistics. The tree indicates GraphQL resolvers and a WebSocket gateway, but their wiring and notification behavior were not sampled, so those links are left unspecified. Batch scheduling is visible, but batch job internals are not.
Main entry points: member.service.ts Member service · database.module.ts MongoDB · property.service.ts Property service · board-article.service.ts Article service
Components 21
API access
- GraphQL app
apps/nestar-api/src/app.module.ts
Product domains
- Property service
apps/nestar-api/src/components/property/property.service.ts - Member service
apps/nestar-api/src/components/member/member.service.ts - Authentication
apps/nestar-api/src/components/auth/auth/auth.service.ts - Article service
apps/nestar-api/src/components/board-article/board-article.service.ts - Comment service
apps/nestar-api/src/components/comment/comment.service.ts - Follow service
apps/nestar-api/src/components/follow/follow.service.ts - Like service
apps/nestar-api/src/components/like/like.service.ts - View service
apps/nestar-api/src/components/view/view.service.ts
Persistence
- Properties
apps/nestar-api/src/schemas/Property.model.ts - Members
apps/nestar-api/src/schemas/Member.model.ts - Articles
apps/nestar-api/src/schemas/BoardArticle.model.ts - Comments
apps/nestar-api/src/schemas/Comment.model.ts - Follows
apps/nestar-api/src/schemas/Follow.model.ts - Likes
apps/nestar-api/src/schemas/Like.model.ts - Views
apps/nestar-api/src/schemas/View.model.ts - MongoDB
apps/nestar-api/src/database/database.module.ts
Batch and realtime
- Batch scheduler
apps/nestar-batch/src/batch.controller.ts - Batch jobs
apps/nestar-batch/src/batch.service.ts - WebSocket gateway
apps/nestar-api/src/socket/socket.gateway.ts
Other components
- API client
Connections 29
- API client → GraphQL app: sends requests
- Property service → Properties: reads and writes
- Property service → Member service: updates statistics
- Property service → View service: records views
- Property service → Like service: gets favorites
- Properties → MongoDB: persists in
- Member service → Members: reads and writes
- Member service → Authentication: hashes and signs
- Member service → View service: records views
- Member service → Like service: checks likes
- Members → MongoDB: persists in
- Article service → Articles: reads and writes
- Article service → Member service: loads member data
- Article service → View service: records views
- Article service → Like service: toggles likes
- Articles → MongoDB: persists in
- Comment service → Comments: reads and writes
- Comment service → Property service: updates property stats
- Comment service → Article service: updates article stats
- Comment service → Member service: updates member stats
- Comments → MongoDB: persists in
- Follow service → Follows: reads and writes
- Follow service → Member service: checks members; updates stats
- Follows → MongoDB: persists in
- Like service → Likes: reads and writes
- Likes → MongoDB: persists in
- View service → Views: reads and writes
- Views → MongoDB: persists in
- Batch scheduler → Batch jobs: runs jobs