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.
To get a local copy up and running follow these simple steps.
- .NET 8
- Clone the repo
git clone --recurse-submodules https://github.com/atacanguzelkaya/CarRental.git
- Configure
appsettings.json
in WebAPI. - 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
- Run example WebAPI project
dotnet run --project src\carRental\WebAPI
- If not, Install dotnet tool
dotnet tool restore
. - Run anaylsis command
dotnet roslynator analyze
- If not, Install dotnet tool
dotnet tool restore
. - Run format command
dotnet csharpier .