Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 2.7 KB

File metadata and controls

70 lines (50 loc) · 2.7 KB

A simple, cross platform, modulith ecommerce system built on .NET Core

High level architecture

SimpleCommerce - Modulith architecture

Visual Studio 2022 and SQLite

Prerequisites

  • SQLite
  • Visual Studio 2022 and .NET 8

Steps to run

  • Build the whole solution.
  • In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project
  • Open the Package Manager Console Window and make sure that SimplCommerce.WebHost is selected as the Default project. Then type "Update-Database" then press "Enter". This action will create the database schema.
  • In Visual Studio, press "Control + F5".
  • The back-office can be accessed via /Admin using the following built-in account: admin@simplcommerce.com, 1qazZAQ!

Mac/Linux with PostgreSQL

Prerequisite

  • SQLite
  • .NET Core SDK 8.0
  • Entity Framework Core Tools (dotnet tool install --global dotnet-ef)

Steps to run

  • Update the connection string in appsettings.json in SimplCommerce.WebHost.
  • Run the simpl-build.sh file by issuing the following command: "sudo ./simpl-build.sh". For ubuntu 18: "sudo bash simpl-build.sh"
  • In the terminal, navigate to "src/SimplCommerce.WebHost" and type "dotnet run" and then hit "Enter".
  • Open http://localhost:49206 in the browser. The back-office can be accessed via /Admin using the following built-in account: admin@simplcommerce.com, 1qazZAQ!

Technologies and frameworks used:

  • ASP.NET Core
  • Entity Framework Core
  • ASP.NET Identity Core
  • Angular 1.6.3
  • MediatR 7.0.0 for domain event
  • SQLite