How vansh-modi/bookmyfun works
BookMyFun is an ASP.NET MVC property-rental and booking marketplace with client, owner, employee, and administrator workflows. A visitor reaches MVC actions; the product supports property discovery and management, bookings and cancellations, payments, subscriptions, identity checks, media, damage claims, partner leads, communications, and financial reporting. Controllers coordinate domain services and repositories, which use a shared SQL access layer. The README is empty; edges below are limited to relationships visible in excerpts, the source index, or application wiring. Some controller-to-subsystem links remain unshown.
Main entry points: Program.cs Application startup · DBHelper.cs SQL access layer · RefundEngineService.cs Cancellation refunds · Entities.cs Marketplace entities
Components 31
Web workflows
- Accounts and OTP
Controllers/AccountController.cs - Property and booking
Controllers/BookingAndPropertiesController.cs - Client workspace
Controllers/ClientController.cs - Owner workspace
Controllers/OwnerController.cs - Employee workspace
Controllers/EmployeeController.cs - Admin operations
Controllers/AdminController.cs - Media access
Controllers/MediaController.cs - Public pages
Controllers/HomeController.cs
Marketplace services
- Payment gateway
Services/PaymentGatewayService.cs - Booking pricing
Services/BookingAndCommissionService.cs - Cancellation refunds
Services/RefundEngineService.cs - Identity verification
Services/IdVerificationService.cs - Damage claims
Services/DamageClaimService.cs - Partner leads
Services/PartnerLeadService.cs - Media validation
Services/MediaStorageService.cs - Email and messaging
Services/CommunicationService.cs
Persistence
- SQL access layer
Data/DBHelper.cs - SQL Server
- Schema initializer
Data/DatabaseInitializer.cs - Initial data seeder
Data/DatabaseSeeder.cs - Property records
Repositories/PropertyRepository.cs - Booking records
Repositories/BookingRepository.cs - Refund records
Repositories/RefundRepository.cs - Verification records
Repositories/IdVerificationRepository.cs - Damage records
Repositories/DamageClaimRepository.cs - Owner requests
Repositories/OwnerRequestRepository.cs - Subscriptions
Repositories/SubscriptionRepository.cs
Domain models
- Marketplace entities
Models/Entities/Entities.cs - Workflow view models
Models/ViewModels/ViewModels.cs
Other components
- Marketplace users
- Application startup
Program.cs
Connections 35
- Marketplace users → Public pages: requests pages
- Marketplace users → Accounts and OTP: requests actions
- Marketplace users → Property and booking: requests actions
- Application startup → Schema initializer: runs schema setup
Program.cs - Application startup → Initial data seeder: runs seed data
Program.cs - Schema initializer → SQL access layer: executes schema SQL
Data/DatabaseInitializer.cs - Initial data seeder → SQL access layer: executes seed SQL
Data/DatabaseSeeder.cs - Property records → SQL access layer: executes queries
Repositories/PropertyRepository.cs - Booking records → SQL access layer: executes queries
Repositories/BookingRepository.cs - Refund records → SQL access layer: uses SQL access
Repositories/RefundRepository.cs - Verification records → SQL access layer: uses SQL access
Repositories/IdVerificationRepository.cs - Damage records → SQL access layer: uses SQL access
Repositories/DamageClaimRepository.cs - Owner requests → SQL access layer: uses SQL access
Repositories/OwnerRequestRepository.cs - Subscriptions → SQL access layer: uses SQL access
Repositories/SubscriptionRepository.cs - SQL access layer → SQL Server: opens SQL connections
Data/DBHelper.cs - Accounts and OTP → Email and messaging: sends OTP messages
Controllers/AccountController.cs - Accounts and OTP → Workflow view models: uses request models
Controllers/AccountController.cs - Admin operations → Identity verification: reviews verification
Controllers/AdminController.cs - Admin operations → Workflow view models: builds reports
Controllers/AdminController.cs - Cancellation refunds → Booking records: cancels booking
Services/RefundEngineService.cs - Cancellation refunds → Refund records: records refund
Services/RefundEngineService.cs - Identity verification → Verification records: uses verification records
Services/IdVerificationService.cs - Damage claims → Marketplace entities: uses claim entities
Services/DamageClaimService.cs - Partner leads → Marketplace entities: uses marketplace entities
Services/PartnerLeadService.cs - Cancellation refunds → Marketplace entities: uses booking entities
Services/RefundEngineService.cs - Cancellation refunds → Workflow view models: returns cancellation quote
Services/RefundEngineService.cs - Property records → Marketplace entities: maps property records
Repositories/PropertyRepository.cs - Booking records → Marketplace entities: maps booking records
Repositories/BookingRepository.cs - Application startup → Payment gateway: registers service
Program.cs - Application startup → Booking pricing: registers services
Program.cs - Application startup → Media validation: registers service
Program.cs - Application startup → Cancellation refunds: registers service
Program.cs - Application startup → Identity verification: registers service
Program.cs - Application startup → Damage claims: registers service
Program.cs - Application startup → Partner leads: registers service
Program.cs