CarBook is a comprehensive car rental and blogging platform that allows users to rent cars, view detailed car information, leave reviews, and engage with blogs by browsing and commenting. The platform also includes an admin panel for managing car listings, moderating reviews, and overseeing blog interactions.
- Onion Architecture
- CQRS (Command Query Responsibility Segregation)
- Mediator Pattern
- Repository Pattern
- Result Pattern
- SignalR - Real-time updates and notifications
- Gemini API - Car recommendations
- EF Core - Database management
- Fluent Validation - Ensuring data integrity
Users can rent cars, explore vehicle details, leave reviews, and interact with blog content through browsing and commenting.
Admins have control over car listings, review moderation, and blog management, ensuring a seamless experience for all users.
In this project, dotnet user-secrets is used. So you need to set couple of things:
- [Necessary] Connection string
- [Necessary] Applying migrations to database
- [Optional] Gemini Api key (For car recommendation)
-
Go to project root folder
-
Change directory to web api project
cd CarBook.WebApi- Set connection string
dotnet user-secrets set "ConnectionString" "YOUR_CONNECTION_STRING"-
Go to project root folder
-
Apply migrations
dotnet ef database update --project .\CarBook.Persistence\ --startup-project .\CarBook.WebApi\-
Go to project root folder
-
Change directory to web app project
cd CarBook.WebApp- Set gemini api key
dotnet user-secrets set "SmartBookKey" "YOUR_API_KEY"












