This is a reference application built with the ABP Framework v10.4.1. It implements the Domain Driven Design with multiple application layers.
This is a reference application built with the ABP Framework v10.4.1. It implements Domain Driven Design with multiple application layers, separate public/admin hosts, an IdentityServer host, PostgreSQL-backed EF Core migrations, background services, and a custom payment module.
## The book
@ -18,20 +18,77 @@ This solution is originally prepared to be a real-world example for the **Master
* .NET 10.0
* Docker
* [ABP CLI](https://abp.io/docs/latest/cli) for client-side library restoration
* [ABP Studio](https://abp.io/docs/latest/studio) if you want to use the Solution Runner and initial tasks
## How to run
* Execute `dotnet build /graphBuild` command in the root folder of the solution.
* Execute `etc/docker/up.ps1` to run the depending services.
* Run `EventHub.DbMigrator` to create the database and seed initial data.
* Run `EventHub.IdentityServer`
* Run `EventHub.HttpApi.Host`
* Run `EventHub.Web`
* Run `EventHub.Admin.HttpApi.Host`
* Run `EventHub.Web.Admin`
### Initial tasks in ABP Studio
Open `EventHub.abpsln` in ABP Studio and use the **Default** run profile. The profile defines these tasks in `etc/abp-studio/run-profiles/Default.abprun.json`:
* **Initialize Solution**: Runs once per computer when the solution is initialized. It starts PostgreSQL/Redis containers, runs `abp install-libs`, and executes the DbMigrator.
* **Start Infrastructure**: Starts the PostgreSQL and Redis containers.