Skip to content

Betabit-Learn-Center/UserManager

Repository files navigation

CQRS + MediatR ASP.NET Core API

Simple API built using ASP.NET Core and MediatR to demonstrate how to easily implement the CQRS pattern in .NET applications.

The example API is very simple, exposing HTTP endpoints through /api/users that internally use MediatR to handle requests and responses.

License

This app is forked from an original by evgomes, found here. The original was published under the MIT license. Changes were made so the code is more applicable to Betabit AI-assisted coding trainings.

Frameworks and Libraries

How to Test

Run the following commands, in sequence, inside the application directory:

dotnet restore
dotnet run

Navigate to http://localhost:5000/swagger/index.html to check the API documentation and test all endpoints.

Limitations

The API does not show how to implement distinct databases to read and write data, nor shows advanced synchronization features. The application just shows examples of using MeadiatR and, consequently, the mediator pattern to handle request and responses in a CQRS approach.

About

A simple API that allows user management. The app showcases a basic CQRS pattern, but lacks any kind of frontend. It is also severely outdated. Can you understand, update and expand this application?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages