MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
This is a simple ecommerce to practice technologies.
Build server | Platform | Status |
---|---|---|
Travis | Linux / MacOS | |
Azure DevOps | Linux |
Technologies | Yes/No |
---|---|
ASP .NET Core | ✅ |
ASP .NET Core Mvc | ✅ |
Entity Framework Core | ✅ |
Identity Server 4 | ✅ |
Swagger UI | ✅ |
React + Typescript | ✅ |
Vue.js | ✅ |
Sql Server | ✅ |
PostgresQL | ❌ |
Blazor/Angular | ❌ |
You probally access to link to get more detail for common web application architectures
$ docker-compose -f docker-compose-infra.yml up
$ docker-compose build
$ docker-compose up
You need to some require external nuget packages. Install Converlet and FluentAssertions for your project using the following cli commands.
To get converlet to collect code coverage for your codebase, we need just to run the following command at the repository root.
dotnet test MsCoreOne.IntegrationTests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover\" /p:CoverletOutput=BuildReports\Coverage\ /p:ExcludeByFile=\"**/Persistence/ApplicationDbContextSeed.cs\" /p:Exclude=\"[*]MsCoreOne.Infrastructure.Migrations.*,[*]MsCoreOne.Pages.*,[*]MsCoreOne.Areas.*\"
To testing with redis cache, you can install redis by the following way:
docker-compose -f .\docker-compose-infra.yml up redis
Note: You should update your IP in appsetting for redis configuration to make sure mscoreone-api connect to redis server successfully.
Contributions, issues and feature requests are welcome!
Give a :star: if you like this project!