Skip to content

Car Booking App in ASP.NET Core. Enables users to browse, book, and manage car rentals with authentication and booking features.

License

Notifications You must be signed in to change notification settings

mustafaHTP/CarBook

Repository files navigation

CarBook

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.

Architecture & Design Patterns

  • Onion Architecture
  • CQRS (Command Query Responsibility Segregation)
  • Mediator Pattern
  • Repository Pattern
  • Result Pattern

Technologies Used

  • SignalR - Real-time updates and notifications
  • Gemini API - Car recommendations
  • EF Core - Database management
  • Fluent Validation - Ensuring data integrity

🔧 Features

For Users

Users can rent cars, explore vehicle details, leave reviews, and interact with blog content through browsing and commenting.

For Admins

Admins have control over car listings, review moderation, and blog management, ensuring a seamless experience for all users.

Running Project

In this project, dotnet user-secrets is used. So you need to set couple of things:

  1. [Necessary] Connection string
  2. [Necessary] Applying migrations to database
  3. [Optional] Gemini Api key (For car recommendation)

1. Setup connection string

  1. Go to project root folder

  2. Change directory to web api project

    cd CarBook.WebApi
  1. Set connection string
    dotnet user-secrets set "ConnectionString" "YOUR_CONNECTION_STRING"

2. Applying migrations

  1. Go to project root folder

  2. Apply migrations

    dotnet ef database update --project .\CarBook.Persistence\ --startup-project .\CarBook.WebApi\

3. Setup Gemini Api Key

  1. Go to project root folder

  2. Change directory to web app project

    cd CarBook.WebApp
  1. Set gemini api key
    dotnet user-secrets set "SmartBookKey" "YOUR_API_KEY"

ss_1

ss_2

ss_3

ss_4

ss_5

ss_6

ss_7

ss_8

ss_9

ss_10

ss_11

ss_12

ss_13

ss_14

About

Car Booking App in ASP.NET Core. Enables users to browse, book, and manage car rentals with authentication and booking features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published