How khilaraj123/rentapp works
RentApp is a peer-to-peer rental marketplace. Its principal domain journey is cataloging rentable items, checking availability and creating a booking, then progressing the booking through its rental lifecycle; identity supports users entering that marketplace. The sampled code supports the authentication and listing-service links, while booking stages and social capabilities are documented but their full application wiring is not shown. Financials are described in the README, but no payment source path appears in the supplied tree, so that capability is represented without inferred runtime connections.
Main entry points: AuthService.cs Authentication service · ListingService.cs Listing use cases · UnitOfWork.cs Unit of work · BookingDomainService.cs Booking rules
Components 18
Web entry
- MVC application
RentApp.Presentation/Program.cs - Authentication routes
RentApp.Presentation/Controllers/AuthController.cs
Identity
- Authentication service
RentApp.Infrastructure/User/AuthService.cs - ASP.NET Identity
- JWT service
RentApp.Infrastructure/User/JwtService.cs - Refresh-token service
RentApp.Infrastructure/User/RefreshTokenService.cs
Rental marketplace
- Listing use cases
RentApp.Application/Services/Listings/ListingService.cs - Booking rules
RentApp.Domain/DomainServices/Implementations/BookingDomainService.cs - Payments and refunds
Domain model
- User and tokens
RentApp.Domain/Entities/Users - Listings and categories
RentApp.Domain/Entities/Listings - Booking lifecycle
RentApp.Domain/Entities/Bookings - Reviews and wishlists
RentApp.Domain/Entities/Reviews
Persistence
- Listing repository
RentApp.Persistence/Repositories/ListingRepository.cs - Booking repository
RentApp.Domain/Repositories/IBookingRepository.cs - EF Core context
RentApp.Persistence/DbContext/ApplicationDbContext.cs - Unit of work
RentApp.Persistence/DbContext/UnitOfWork.cs
Other components
- Renter or owner
Connections 15
- Renter or owner → MVC application: uses
- MVC application → Authentication routes: routes
- Authentication routes → Authentication service: calls
- Authentication service → ASP.NET Identity: authenticates users
- Authentication service → JWT service: generates tokens
- Authentication service → Refresh-token service: manages sessions
- Authentication service → Unit of work: saves registration
- Authentication service → User and tokens: raises registration event
- Listing use cases → Listing repository: queries and updates
- Listing use cases → Unit of work: saves changes
- Listing use cases → Listings and categories: updates listings
- Booking rules → Booking repository: checks bookings
- Booking rules → Booking lifecycle: creates booking
- Unit of work → EF Core context: commits
- Listing repository → EF Core context: accesses data