/CarRental

Inspired by Clean Architecture, CarRental is a monolith project demonstrating advanced development techniques with nArchitecture. It features Clean Architecture, CQRS, Advanced Repository, Dynamic Querying, JWT, OTP, Google & Microsoft Auth, Role-Based Management, Distributed Caching (Redis), Logging (Serilog), Elastic Search, and more.

Primary LanguageC#MIT LicenseMIT


CarRental Project with nArchitecture

Report Bug · Request Feature

💻 About The Project

Inspired by Clean Architecture, the CarRental Project is a monolith project showcasing advanced development techniques and is built with the nArchitecture project. The project includes Clean Architecture, CQRS, Advanced Repository, Dynamic Querying, JWT, OTP, Google & Microsoft Auth, Role-Based Management, Distributed Caching (Redis), Logging (Serilog), Elastic Search, Code Generator and much more.

Built With

⚙️ Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • .NET 8

Installation

  1. Clone the repo
    git clone --recurse-submodules https://github.com/atacanguzelkaya/CarRental.git
  2. Configure appsettings.json in WebAPI.
  3. Run Update-Database command with Package Manager Console in WebAPI to create tables in sql server.
  • Run the following command to update submodules
     git submodule update --remote

🚀 Usage

  1. Run example WebAPI project dotnet run --project src\carRental\WebAPI

Analysis

  1. If not, Install dotnet tool dotnet tool restore.
  2. Run anaylsis command dotnet roslynator analyze

Format

  1. If not, Install dotnet tool dotnet tool restore.
  2. Run format command dotnet csharpier .