Skip to content

Simple Asp.Net Project Written in Clean Architecture With CQRS Pattern (and a little DDD). Tests Will Run With Github Actions

Notifications You must be signed in to change notification settings

ZenMaxe/Sample-CleanArchitecture-CQRS

Repository files navigation

Sample-CleanArchitecture-CQRS

This project is a .NET 8.0 implementation of Clean Architecture, CQRS pattern, Fluent Validation and Identity for role and user management. It utilizes Sqlite, Entity Framework, Mapster, MediatR, and JWT for authentication and authorization in an ASP.NET Core Web API.

Technologies Used

  • ASP.NET Core 8.0
  • Mapster
  • Clean Architecture
  • CQRS Pattern
  • Identity (Role and User Management)
  • Sqlite
  • Entity Framework
  • FluentValidation
  • MediatR
  • JWT Authentication and Authorization

How to Run the Project

  1. Clone the repository.
  2. Open the solution in Visual Studio 2022.
  3. Build and run the ASP.NET Core Web API.

Project Structure

  • src: Contains the source code for the ASP.NET Core Web API.
  • tests: Contains unit tests for the project.

Additional Notes

  • This project is designed with simplicity in mind and may not cover all real-world scenarios.
  • Most of the infrastructure methods are not fully utilized in this sample.
  • Customization: Certain parts of the project, such as configuration settings or middleware, are designed to be easily customized to fit specific requirements.

Feel free to contribute, report issues, or provide feedback! Please refer to the contribution guidelines for more information.

About

Simple Asp.Net Project Written in Clean Architecture With CQRS Pattern (and a little DDD). Tests Will Run With Github Actions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published