Skip to content

An Ecommerce Platform built following industry best-practices, patterns and strategies like Domain Driven Design (DDD), Clean Architecture, CQRS and SOLID Principles

Notifications You must be signed in to change notification settings

dagweg/Ecommerce.AspNetCore

Repository files navigation

Ecommerce Platform

.NET Automapper Fluent Validation xUnit Serilog Moq Mediatr Swagger EfCore MSSQL

Overview

An Ecommerce WebService built with .NET Core following Clean Architecture, DDD, CQRS and SOLID principles. image

Getting Started

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/dagweg/Ecommerce_Platform.NET.git
  1. Install dependencies
dotnet restore .\Ecommerce.Presentation\Api\Ecommerce.Api.csproj
dotnet tool restore
  1. Install EfCore globally/locally
dotnet tool install --global dotnet-ef --version 9.0.0
  1. Configure appsettings.json to suit your environment and sync migrations with db by:
dotnet ef database update --project .\Ecommerce.Infrastructure\Ecommerce.Infrastructure.csproj
  1. Run the Tests
dotnet test .\Ecommerce.Tests\Ecommerce.Tests.csproj
  1. Run the Api
dotnet run --project .\Ecommerce.Api\Ecommerce.Api.csproj
  1. Test the endpoints! You can use RestClient and the pre-written http test requests in .\Ecommerce.Api\HttpRequests\.

Additional Note:

Incase you get unexpected errors like codeananlysis error please use the script found in Scripts to remove all intermediary obj and bin files. Just like so:

.\Scripts\cbf # Clean Build Files

License

MIT

About

An Ecommerce Platform built following industry best-practices, patterns and strategies like Domain Driven Design (DDD), Clean Architecture, CQRS and SOLID Principles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages