How buildnexus-project/buildnexus works
BuildNexus is a construction-project management system. Clients register and submit a project; staff are assigned, designs are uploaded and reviewed, construction is tracked through milestones, and invoices are paid before handover. The React app calls the YARP gateway, which routes requests to five independently persisted .NET services. Kafka carries asynchronous events between services. The graph preserves those domain stages and highlights controllers and repositories as the service-internal request layer. Relationships for unsampled subsystems follow README statements; internal details are limited to shown excerpts.
Main entry points: Program.cs YARP API gateway · DesignsController.cs Design service · ProjectsController.cs Project service · ConstructionPhaseController.cs Construction service
Components 16
User experience
- React application
frontend/src/App.tsx
Identity and projects
- User service
services/user-service/Controllers/UsersController.cs - User database
- Project service
services/project-service/Controllers/ProjectsController.cs - Project database
Design review
- Design service
services/design-service/Controllers/DesignsController.cs - Design database
Construction and payments
- Construction service
services/construction-service/Controllers/ConstructionPhaseController.cs - Milestone tracking
services/construction-service/Controllers/MilestonesController.cs - Construction database
- Payment service
services/payment-service/Controllers/ClientPaymentsController.cs - Payment database
- Reports and dashboards
services
Service platform
- YARP API gateway
api-gateway/Program.cs - Kafka event bus
Other components
- BuildNexus user
Connections 23
- BuildNexus user → React application: uses
README.md - React application → YARP API gateway: calls API
README.md - YARP API gateway → User service: routes requests
README.md - YARP API gateway → Project service: routes requests
README.md - YARP API gateway → Design service: routes requests
README.md - YARP API gateway → Construction service: routes requests
README.md - YARP API gateway → Payment service: routes requests
README.md - User service → User database: persists data
README.md - Project service → Project database: persists data
README.md - Design service → Design database: persists data
README.md - Construction service → Construction database: persists data
README.md - Milestone tracking → Construction database: stores milestones
- Payment service → Payment database: persists data
README.md - Project service → Kafka event bus: publishes events
README.md - Design service → Kafka event bus: publishes events
README.md - Construction service → Kafka event bus: exchanges events
README.md - Payment service → Kafka event bus: exchanges events
README.md - Project service → User service: looks up staff
- Design service → Project service: checks project access
services/design-service/Controllers/DesignsController.cs - Design service → Design database: reads and writes
services/design-service/Controllers/DesignsController.cs - Construction service → Construction database: runs transitions
services/construction-service/Controllers/ConstructionPhaseController.cs - Payment service → Payment database: records payment
services/payment-service/Controllers/ClientPaymentsController.cs - Reports and dashboards → React application: feeds dashboards