DeiranZ /
WebGamesMVC
A sample ASP.NET Core MVC application that is an online HTML web games site. It is made following CQRS and Clean Architecture design.
31/100 healthLoading repository data…
profjordanov / repository
A sample online store app with Microsoft .NET Core Stack.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A product catalog website with custom design.
What's special about this specific implementation is that it employs a different approach on error handling and propagation. It uses the Maybe and Either monads to enable very explicit function declarations and allow us to abstract the conditionals and validations into the type itself.
This allows you to do cool stuff like:
public Task<Option<UserServiceModel, Error>> LoginAsync(CredentialsModel model) =>
GetUser(u => u.Email == model.Email)
.FilterAsync(user => UserManager.CheckPasswordAsync(user, model.Password), "Invalid credentials.".ToError())
.MapAsync(async user =>
{
var result = Mapper.Map<UserServiceModel>(user);
await SignInManager.SignInAsync(user, isPersistent: false);
return result;
});
You can read more about Maybe and Either here and here.
├───Web
│ ├───JjOnlineStore.Web
│ └───JjOnlineStore.Web.Infrastructure
├───Services
│ ├───JjOnlineStore.Services.Business
│ ├───JjOnlineStore.Services.Data
│ └───JjOnlineStore.Services.Core
├───Data
│ ├───JjOnlineStore.Data.EF
│ ├───JjOnlineStore.Data.Entities
│ └───JjOnlineStore.Data
├───JjOnlineStore.Common
├───JjOnlineStore.Extensions
└───Tests
└───JjOnlineStore.Tests
/// POST: /Account/Login
/// <summary>
/// Login.
/// </summary>
[HttpPost]
public async Task<IActionResult> Login(CredentialsModel model)
=> (await _usersService.LoginAsync(model))
.Match(RedirectToLocal, ErrorLogin);

Selected from shared topics, language and repository description—not editorial ratings.
DeiranZ /
A sample ASP.NET Core MVC application that is an online HTML web games site. It is made following CQRS and Clean Architecture design.
31/100 health