3.2 Specification Tests
BrewUpErp is an end‑to‑end sample ERP built to demonstrate:
- Domain‑Driven Design (DDD)
- Modular / bounded‑context architecture
- Functional‑style domain modelling
- Clean, testable application layers
The solution is intentionally realistic but still small enough to study. It consists of:
- BrewApi – backend HTTP API (ASP.NET Core, .NET 10)
- BrewSpa – Blazor web front‑end
- BrewApp – .NET MAUI mobile application
Note: this repository is a work in progress. Expect breaking changes and incomplete features, especially in less‑used flows.
using Microsoft.EntityFrameworkCore;
public class AppDbContext : DbContext
{
public DbSet L1078 => Set();
public AppDbContext(DbContextOptions options) : base(options) { }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity()
.HasKey(x => x.PKREGID);
modelBuilder.Entity()
.HasIndex(x => x.F1275);
}
}