How mabrur30/civilhub works
CivilHub is a two-sided civil-engineering marketplace with client, engineer/organisation, and administrator interfaces. The principal workflow is clients publishing projects, providers finding them and bidding, and participants managing project progress and reviews; the platform also supports equipment bookings, profiles, messaging, networking, and payment administration. The graph combines sampled UI and controller evidence with the source index and README. Several feature areas are represented by their exact directories because their implementation was not sampled; their internal call paths are therefore omitted.
Main entry points: EngineerMarketplacePage.tsx Browse and bid · src/App.tsx Client application · index.ts Express API · src/App.tsx Admin console
Components 23
Project marketplace
- Client application
client/src/App.tsx - Browse and bid
client/src/pages/EngineerMarketplacePage.tsx - Project workflows
server/src/controllers/projectProgress.controller.ts - Bidding
server/src/controllers/bid.controller.ts - Equipment marketplace
server/src/controllers/equipment.controller.ts - Equipment bookings
server/src/models/EquipmentBooking.model.ts
Profiles and community
- Provider profiles
client/src/components/profile/engineer/EngineerProfileView.tsx - Profile and search API
server/src/controllers/engineer.controller.ts - Network and feed
client/src/pages/EngineerNetworkPage.tsx - Messaging
client/src/components/messages - Reviews
server/src/controllers/review.controller.ts
Project operations
- Project progress
server/src/controllers/projectProgress.controller.ts - Disputes
server/src/controllers/projectDispute.controller.ts - Verification
server/src/controllers/verification.controller.ts - Payments and payouts
server/src/controllers/payment.controller.ts
Platform services
- Authentication
client/src/context/AuthContext.tsx - Express API
server/src/index.ts - MongoDB records
server/src/config/db.ts
Administration
- Admin console
admin/src/App.tsx - Admin API
server/src/controllers/admin.controller.ts
Other components
- Clients
- Providers
- Administrators
Connections 26
- Clients → Client application: use
- Providers → Client application: use
- Administrators → Admin console: use
admin/src/App.tsx - Client application → Browse and bid: routes to
client/src/App.tsx - Browse and bid → Express API: fetches projects and bids
- Client application → Authentication: uses
client/src/App.tsx - Browse and bid → Project workflows: requests open projects
- Browse and bid → Bidding: requests my bids
- Providers → Provider profiles: maintain profiles
- Provider profiles → Profile and search API: loads profile data
- Profile and search API → Reviews: routes review requests
server/src/routes/engineer.routes.ts - Network and feed → Express API: fetches network and feed data
- Clients → Equipment marketplace: browse equipment
- Equipment marketplace → Equipment bookings: stores bookings
- Clients → Project workflows: post and manage projects
- Providers → Bidding: submit bids
- Project workflows → Project progress: track completion
server/src/controllers/projectProgress.controller.ts - Project progress → Reviews: checks project completion
server/src/controllers/customerReview.controller.ts - Clients → Reviews: review providers
- Clients → Disputes: raise disputes
- Providers → Messaging: message participants
- Clients → Verification: request verification
- Payments and payouts → Express API: served by
- Admin console → Admin API: manages platform
- Admin console → Authentication: admin sign-in
- Express API → MongoDB records: uses database
server/src/index.ts