How martinsharma18/bof2 works
BOF2 is a Nepal-focused requirements marketplace: companies and individuals publish posts, people respond, and companies can hire applicants and pay claims through an individual wallet. The graph emphasizes the feed-to-application workflow and preserves the documented profiles, invitations, vacancies, messaging, notifications, admin, ads, and installable-app capabilities. Some feature implementations were not sampled; those branches use README evidence rather than implying source inspection.
Main entry points: ApplicationService.cs Hiring and payments · AppDbContext.cs Marketplace database · FeedPage.tsx Feed and posts · ProfilePage.tsx Profiles and features
Components 21
Web client
- Web app
frontend/src/app/App.tsx - Feed and posts
frontend/src/pages/FeedPage.tsx - Applications and chat
frontend/src/pages/ApplicationsPage.tsx - Wallet
frontend/src/pages/WalletPage.tsx - Profiles and features
frontend/src/pages/ProfilePage.tsx - Offline and install support
frontend/public/sw.js
API and domain
- Authentication API
backend/BOF2.Api/Controllers/AuthController.cs - Posts API
backend/BOF2.Api/Controllers/PostsController.cs - Applications API
backend/BOF2.Api/Controllers/ApplicationsController.cs - Admin API
backend/BOF2.Api/Controllers/AdminController.cs
Marketplace services
- Identity and tokens
backend/BOF2.Infrastructure/Auth/AuthService.cs - Posts and engagement
backend/BOF2.Infrastructure/Services/PostService.cs - Hiring and payments
backend/BOF2.Infrastructure/Services/ApplicationService.cs - Profiles
backend/BOF2.Application/Users/Users.cs - Marketplace features
backend/BOF2.Infrastructure/Services - Admin and ads
backend/BOF2.Application/Admin/Admin.cs
Communication
- Web push
backend/BOF2.Infrastructure/Push/PushService.cs
Platform services
- Marketplace database
backend/BOF2.Infrastructure/Persistence/AppDbContext.cs - Image storage
backend/BOF2.Application/Common/IFileStorage.cs
Other components
- Marketplace users
- Push service
Connections 25
- Marketplace users → Web app: use
README.md - Web app → Feed and posts: opens
README.md - Feed and posts → Posts API: loads and submits
README.md - Posts API → Posts and engagement: delegates
- Posts and engagement → Marketplace database: reads and writes
backend/BOF2.Infrastructure/Services/PostService.cs - Posts and engagement → Image storage: stores media
backend/BOF2.Infrastructure/Services/PostService.cs - Feed and posts → Applications and chat: apply
README.md - Applications and chat → Applications API: manages applications
README.md - Applications API → Hiring and payments: delegates
- Hiring and payments → Marketplace database: reads and writes
backend/BOF2.Infrastructure/Services/ApplicationService.cs - Hiring and payments → Image storage: stores claim proof
backend/BOF2.Infrastructure/Services/ApplicationService.cs - Hiring and payments → Wallet: credits payments
README.md - Marketplace users → Authentication API: registers and signs in
README.md - Authentication API → Identity and tokens: delegates
- Identity and tokens → Marketplace database: reads and writes
backend/BOF2.Infrastructure/Auth/AuthService.cs - Marketplace users → Profiles and features: uses
README.md - Profiles and features → Profiles: updates profiles
README.md - Marketplace users → Admin API: administers
README.md - Admin API → Admin and ads: delegates
backend/BOF2.Api/Controllers/AdminController.cs - Marketplace users → Applications and chat: messages and invites
README.md - Profiles and features → Marketplace features: uses marketplace features
README.md - Marketplace features → Marketplace database: persists feature data
backend/BOF2.Infrastructure/Services/ApplicationService.cs - Hiring and payments → Web push: queues notifications
backend/BOF2.Infrastructure/Services/ApplicationService.cs - Web push → Push service: sends notifications
- Marketplace users → Offline and install support: installs and uses offline
README.md