All Projects → trungcaot → MsCoreOne

trungcaot / MsCoreOne

Licence: MIT license
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.

Programming Languages

C#
18002 projects
typescript
32286 projects
HTML
75241 projects
TSQL
950 projects
Vue
7211 projects
CSS
56736 projects

Projects that are alternatives of or similar to MsCoreOne

MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (+102.6%)
Mutual labels:  sql-server, aspnetcore, xunit, entity-framework-core
RCM
RCM is a simple CRM application designed for Auto Parts Store made with ASP.NET Core based on DDD, CQRS and SOLID Principles.
Stars: ✭ 29 (-62.34%)
Mutual labels:  sql-server, entity-framework-core, mediatr
Authentication
Authentication examples for AspNetCore 3.1
Stars: ✭ 37 (-51.95%)
Mutual labels:  aspnetcore, entity-framework-core, identityserver4
CleanArchitecture-Template
This is a solution template for Clean Architecture and CQRS implementation with ASP.NET Core.
Stars: ✭ 60 (-22.08%)
Mutual labels:  swagger-ui, mediatr, fluentvalidation
Aspnetcorewindowsauth
Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4
Stars: ✭ 87 (+12.99%)
Mutual labels:  mvc, aspnetcore, identityserver4
Equinoxproject
Full ASP.NET Core 5 application with DDD, CQRS and Event Sourcing concepts
Stars: ✭ 5,120 (+6549.35%)
Mutual labels:  aspnetcore, mediatr, fluentvalidation
Joker
An example of microservices container based application which implemented different approaches within each microservice (DDD, CQRS, Simple CRUD)
Stars: ✭ 41 (-46.75%)
Mutual labels:  entity-framework-core, identityserver4, fluentvalidation
ArchitectNow.ApiStarter
Sample ASP.NET Core 2 API Setup used by ArchitectNow for corresponding workshop presentations
Stars: ✭ 35 (-54.55%)
Mutual labels:  aspnetcore, xunit, fluentvalidation
MonolithicArchitecture
This repository presents an approach on how to build an application using Monolithic architecture, ASP.NET Core, EntityFrameworkCore, Identity Server, CQRS, DDD
Stars: ✭ 18 (-76.62%)
Mutual labels:  aspnetcore, entity-framework-core, identityserver4
Identityserver4aspnetcoreidentitytemplate
An ASP.NET Core 3.1 IdentityServer4 Identity Bootstrap 4 template with localization
Stars: ✭ 262 (+240.26%)
Mutual labels:  mvc, aspnetcore, identityserver4
fullstack-jobs
Real(ish) demo using Angular with ASP.NET Core GraphQL and IdentityServer.
Stars: ✭ 84 (+9.09%)
Mutual labels:  sql-server, entity-framework-core, identityserver4
Hexagonal-architecture-ASP.NET-Core
App generator API solution template which is built on Hexagnonal Architecture with all essential feature using .NET Core
Stars: ✭ 57 (-25.97%)
Mutual labels:  aspnetcore, entity-framework-core
rbac-react-redux-aspnetcore
A starter template for creating JWT token from ASP.NET Core API project and applying that JWT token authentication on React application
Stars: ✭ 54 (-29.87%)
Mutual labels:  sql-server, aspnetcore
OrdersManagementSystem
Project demonstrates usage of Prism composition library, Material design library, SQL Server, Entity Framework in WPF application
Stars: ✭ 29 (-62.34%)
Mutual labels:  sql-server, aspnetcore
ASPCore.BlazorCrud
CRUD Using Blazor And Entity Framework Core
Stars: ✭ 39 (-49.35%)
Mutual labels:  sql-server, entity-framework-core
N-Tier-Architecture
This is a n-layer architecture based on Common web application architectures.
Stars: ✭ 105 (+36.36%)
Mutual labels:  sql-server, entity-framework-core
Entityframework.exceptions
Handle database errors easily when working with Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql
Stars: ✭ 266 (+245.45%)
Mutual labels:  sql-server, entity-framework-core
Aspnetcoregraphql
Sample project demonstrating a GraphQL service built with ASP.NET Core 2.2, Entity Framework Core and graphql-dotnet.
Stars: ✭ 272 (+253.25%)
Mutual labels:  sql-server, entity-framework-core
StoreCleanArchitecture-NET
This is a basic project to demonstrate an introduction about the implementation of Clean Architecture on .NET
Stars: ✭ 19 (-75.32%)
Mutual labels:  sql-server, entity-framework-core
BookCart
An e-commerce application for an online book store.
Stars: ✭ 116 (+50.65%)
Mutual labels:  sql-server, entity-framework-core

MsCoreOne - Simple Ecommerce

This is a simple ecommerce to practice technologies.

Build Status

Build server Platform Status
Travis Linux / MacOS Build Status
Azure DevOps Linux Build Status

alt text

The technologies have implemented as image above.

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

Onion Architecture

alt text

ASP.NET Core architecture diagram following Clean Architecture

alt text

You probally access to link to get more detail for common web application architectures

Layers Example

alt text

Account default

Docker build

Prerequisite

  • Installed Docker on your computer

Steps to run

  • At deployment folder
  $ docker-compose -f docker-compose-infra.yml up
  $ docker-compose build
  $ docker-compose up

Notes

  • Updating MSCOREONE_DB_HOST's value is ([your IP], 1433) in .env file. Ex. 192.168.131.97,1433
  • Adding ([your IP] mscoreone-portal.local) in hosts file. Ex. 192.168.131.97 mscoreone-portal.local

Links store demo on docker

Running integration test and watching code coverage

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.*\"

Distributed Caching with Redis

To testing with redis cache, you can install redis by the following way:

  1. Install manually redis from github repo and that download zip file that is compatible with your windows, extract the zip folder, and open up redis-server.exe
  2. Using docker to up redis by access to development folder then open powershell and that run command bellow.
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.

🤝 Contributing

Contributions, issues and feature requests are welcome!

👨‍🚀 Show your support

Give a if you like this project!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].